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

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.SFTPEpr

public class SFTPEpr
extends FTPEpr

A helper class for using SFTP style EPRs.

Author:
marklittle

Field Summary
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
SFTPEpr(EPR epr)
           
SFTPEpr(EPR epr, org.w3c.dom.Element header)
           
SFTPEpr(java.lang.String url, java.lang.String cert)
           
SFTPEpr(java.net.URI uri)
          Construct the SFTP EPR with the specified URI.
SFTPEpr(java.net.URI uri, java.net.URI cert)
          Construct the SFTP EPR with the specified URI and certificate.
 
Method Summary
 EPR copy()
          Return a copy of this EPR.
 java.net.URI getCertificateURI()
           
 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
Constructor Detail

SFTPEpr

public SFTPEpr(EPR epr)

SFTPEpr

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

SFTPEpr

public SFTPEpr(java.net.URI uri)
Construct the SFTP EPR with the specified URI.

Parameters:
uri -
Throws:
java.net.URISyntaxException

SFTPEpr

public SFTPEpr(java.net.URI uri,
               java.net.URI cert)
        throws java.net.URISyntaxException
Construct the SFTP EPR with the specified URI and certificate.

Parameters:
uri -
cert -
Throws:
java.net.URISyntaxException

SFTPEpr

public SFTPEpr(java.lang.String url,
               java.lang.String cert)
        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.

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()