Package com.sun.xml.ws.api.server
Class HttpEndpoint
- java.lang.Object
-
- com.sun.xml.ws.api.server.HttpEndpoint
-
- Direct Known Subclasses:
HttpEndpoint
public abstract class HttpEndpoint extends Object
Light-weight http server transport forWSEndpoint. It provides a way to start the transport at a local http address and to stop the transport.- Author:
- Jitendra Kotamraju
-
-
Constructor Summary
Constructors Constructor Description HttpEndpoint()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static HttpEndpointcreate(WSEndpoint endpoint)Factory to deployWSEndpointon light-weight http server container.abstract voidpublish(String address)Publishes this endpoint at a localhost's http address.abstract voidstop()Stops the published endpoint
-
-
-
Method Detail
-
create
public static HttpEndpoint create(@NotNull WSEndpoint endpoint)
Factory to deployWSEndpointon light-weight http server container.- Parameters:
endpoint- that needs to be deployed at http server- Returns:
- transport object for the endpoint
-
publish
public abstract void publish(@NotNull String address)
Publishes this endpoint at a localhost's http address.- Parameters:
address- endpoint's http address for e.g http://localhost:8080/ctxt/pattern
-
stop
public abstract void stop()
Stops the published endpoint
-
-