org.jboss.soa.esb.addressing.eprs
Class HTTPEpr
java.lang.Object
org.jboss.soa.esb.addressing.EPR
org.jboss.soa.esb.addressing.eprs.HTTPEpr
public class HTTPEpr
- extends EPR
A helper class for using HTTP style EPRs. Simply create instances of this
class instead of the base EPR.
- Author:
- marklittle
Method Summary |
java.net.URL |
getURL()
Get the URL address. |
void |
setURL(java.net.URL url)
Set the URL for this endpoint. |
static java.net.URI |
type()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HTTPEpr
public HTTPEpr(EPR epr)
HTTPEpr
public HTTPEpr(EPR epr,
org.w3c.dom.Element header)
HTTPEpr
public HTTPEpr(java.net.URL url)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
HTTPEpr
public HTTPEpr(java.lang.String url)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
setURL
public final void setURL(java.net.URL url)
- Set the URL for this endpoint.
- Parameters:
url
- the address.
getURL
public final java.net.URL getURL()
throws java.net.MalformedURLException,
java.net.URISyntaxException
- Get the URL address.
- Returns:
- the address.
- Throws:
java.net.URISyntaxException
- thrown if the address is invalid.
java.net.MalformedURLException
type
public static final java.net.URI type()