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 for WSEndpoint. It provides a way to start the transport at a local http address and to stop the transport.
Author:
Jitendra Kotamraju
  • Constructor Details

    • HttpEndpoint

      public HttpEndpoint()
      Default constructor.
  • Method Details

    • create

      public static HttpEndpoint create(@NotNull WSEndpoint endpoint)
      Factory to deploy WSEndpoint on 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