Package javax.xml.messaging
Class URLEndpoint
java.lang.Object
javax.xml.messaging.Endpoint
javax.xml.messaging.URLEndpoint
A special case of the
Endpoint class used for simple applications that want to communicate directly
with another SOAP-based application in a point-to-point fashion instead of going through a messaging provider.
A URLEndpoint object contains a URL, which is used to make connections to the remote party.
A standalone client can pass a URLEndpoint object to the SOAPConnection method call to
send a message synchronously.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionURLEndpoint(String url) Constructs a newURLEndpointobject using the given URL. -
Method Summary
-
Constructor Details
-
URLEndpoint
Constructs a newURLEndpointobject using the given URL.- Parameters:
url- aStringgiving the URL to use in constructing the newURLEndpointobject
-
-
Method Details
-
getURL
Gets the URL associated with thisURLEndpointobject.- Returns:
- a
Stringgiving the URL associated with thisURLEndpointobject
-