org.jboss.soa.esb.addressing.eprs
Class FTPSEpr

java.lang.Object
  extended by org.jboss.soa.esb.addressing.EPR
      extended by org.jboss.soa.esb.addressing.eprs.FileEpr
          extended by org.jboss.soa.esb.addressing.eprs.FTPEpr
              extended by org.jboss.soa.esb.addressing.eprs.FTPSEpr

public class FTPSEpr
extends FTPEpr

A helper class for using FTPS style EPRs.

Author:
marklittle

Field Summary
static java.lang.String CERTIFICATE_NAME_TAG
           
static java.lang.String CERTIFICATE_TAG
           
 
Fields inherited from class org.jboss.soa.esb.addressing.eprs.FTPEpr
PASSIVE_TAG, PASSWORD_TAG, USERNAME_TAG
 
Fields inherited from class org.jboss.soa.esb.addressing.eprs.FileEpr
DEFAULT_REPLY_TO_FILE_SUFFIX, ERROR_DEL_TAG, ERROR_DIR_TAG, ERROR_SUFFIX_TAG, INPUT_SUFFIX_TAG, POST_DEL_TAG, POST_DIR_TAG, POST_RENAME_TAG, POST_SUFFIX_TAG, URL_TAG, WORK_SUFFIX_TAG
 
Constructor Summary
FTPSEpr(EPR epr)
           
FTPSEpr(EPR epr, org.w3c.dom.Element header)
           
FTPSEpr(java.lang.String uri, java.lang.String cert, java.lang.String name)
           
FTPSEpr(java.net.URI uri)
           
FTPSEpr(java.net.URI uri, java.lang.String cert, java.lang.String name)
           
FTPSEpr(java.net.URI uri, java.net.URI cert, java.lang.String name)
           
 
Method Summary
 EPR copy()
          Return a copy of this EPR.
 java.lang.String getCertificateName()
           
 java.net.URI getCertificateURI()
           
 void setCertificateName(java.lang.String name)
          Set the Certificate Name for this endpoint.
 void setCertificateURI(java.net.URI cert)
          Set the Certificate URI for this endpoint.
 java.lang.String toString()
           
static java.net.URI type()
           
 
Methods inherited from class org.jboss.soa.esb.addressing.eprs.FTPEpr
getPassive, getPassword, getURL, getUserName, setPassive, setPassword, setURL, setUserName
 
Methods inherited from class org.jboss.soa.esb.addressing.eprs.FileEpr
getErrorDelete, getErrorDirectory, getErrorSuffix, getInputSuffix, getPostDelete, getPostDirectory, getPostRename, getPostSuffix, getWorkSuffix, setErrorDelete, setErrorDirectory, setErrorSuffix, setInputSuffix, setPostDelete, setPostDirectory, setPostRename, setPostSuffix, setWorkSuffix
 
Methods inherited from class org.jboss.soa.esb.addressing.EPR
equals, getAddr, getURI, setAddr, setURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CERTIFICATE_TAG

public static final java.lang.String CERTIFICATE_TAG
See Also:
Constant Field Values

CERTIFICATE_NAME_TAG

public static final java.lang.String CERTIFICATE_NAME_TAG
See Also:
Constant Field Values
Constructor Detail

FTPSEpr

public FTPSEpr(EPR epr)

FTPSEpr

public FTPSEpr(EPR epr,
               org.w3c.dom.Element header)

FTPSEpr

public FTPSEpr(java.net.URI uri)
        throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

FTPSEpr

public FTPSEpr(java.net.URI uri,
               java.net.URI cert,
               java.lang.String name)
        throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

FTPSEpr

public FTPSEpr(java.net.URI uri,
               java.lang.String cert,
               java.lang.String name)
        throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

FTPSEpr

public FTPSEpr(java.lang.String uri,
               java.lang.String cert,
               java.lang.String name)
        throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException
Method Detail

setCertificateURI

public final void setCertificateURI(java.net.URI cert)
                             throws java.net.URISyntaxException
Set the Certificate URI for this endpoint.

Parameters:
cert - the address.
Throws:
java.net.URISyntaxException - thrown if this EPR is malformed.

getCertificateURI

public final java.net.URI getCertificateURI()
                                     throws java.net.URISyntaxException
Returns:
the certificate URI for this EPR.
Throws:
java.net.URISyntaxException - thrown if this EPR is malformed.

setCertificateName

public final void setCertificateName(java.lang.String name)
Set the Certificate Name for this endpoint.

Parameters:
name - the certificate name.

getCertificateName

public final java.lang.String getCertificateName()
Returns:
the certificate Name for this EPR.
Throws:
java.net.URISyntaxException - thrown if this EPR is malformed.

copy

public EPR copy()
Description copied from class: EPR
Return a copy of this EPR.

Overrides:
copy in class FTPEpr

toString

public java.lang.String toString()
Overrides:
toString in class FTPEpr

type

public static java.net.URI type()