org.jboss.soa.esb.addressing.eprs
Class SFTPEpr
java.lang.Object
org.jboss.soa.esb.addressing.EPR
org.jboss.soa.esb.addressing.eprs.FileEpr
org.jboss.soa.esb.addressing.eprs.FTPEpr
org.jboss.soa.esb.addressing.eprs.SFTPEpr
public class SFTPEpr
- extends FTPEpr
A helper class for using FTP style EPRs. Simply create instances of this
class instead of the base EPR. Since URLs can use FTP, we try to leverage
that as much as possible.
- Author:
- marklittle
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.URL url)
|
SFTPEpr(java.net.URL url,
java.net.URL cert)
|
Methods inherited from class org.jboss.soa.esb.addressing.eprs.FileEpr |
getErrorDelete, getErrorDirectory, getErrorSuffix, getInputSuffix, getPostDelete, getPostDirectory, getPostSuffix, getWorkSuffix, setErrorDelete, setErrorDirectory, setErrorSuffix, setInputSuffix, setPostDelete, setPostDirectory, setPostSuffix, setWorkSuffix |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CERTIFICATE_TAG
public static final java.lang.String CERTIFICATE_TAG
- See Also:
- Constant Field Values
SFTPEpr
public SFTPEpr(EPR epr)
SFTPEpr
public SFTPEpr(EPR epr,
org.w3c.dom.Element header)
SFTPEpr
public SFTPEpr(java.net.URL url)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
SFTPEpr
public SFTPEpr(java.net.URL url,
java.net.URL cert)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
SFTPEpr
public SFTPEpr(java.lang.String url,
java.lang.String cert)
throws java.net.URISyntaxException,
java.net.MalformedURLException
- Throws:
java.net.URISyntaxException
java.net.MalformedURLException
setCertificateURL
public final void setCertificateURL(java.net.URL cert)
throws java.net.URISyntaxException
- Set the Certificate URL for this endpoint.
- Parameters:
cert
- the address.
- Throws:
java.net.URISyntaxException
- thrown if this EPR is malformed.
getCertificateURL
public final java.net.URL getCertificateURL()
throws java.net.URISyntaxException,
java.net.MalformedURLException
- Returns:
- the certificate URL for this EPR.
- Throws:
java.net.URISyntaxException
- thrown if this EPR is malformed.
java.net.MalformedURLException
toString
public java.lang.String toString()
- Overrides:
toString
in class FTPEpr
type
public static java.net.URI type()