com.sun.xml.ws.api.server
Class HttpEndpoint

java.lang.Object
  extended by com.sun.xml.ws.api.server.HttpEndpoint
Direct Known Subclasses:
HttpEndpoint

public abstract class HttpEndpoint
extends java.lang.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.


Constructor Summary
HttpEndpoint()
           
 
Method Summary
static HttpEndpoint create(WSEndpoint endpoint)
          Factory to deploy WSEndpoint on light-weight http server container.
abstract  void publish(java.lang.String address)
          Publishes this endpoint at a localhost's http address.
abstract  void stop()
          Stops the published endpoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpEndpoint

public HttpEndpoint()
Method Detail

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
                             java.lang.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



Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.