public class JaxwsHandler
extends org.glassfish.grizzly.http.server.HttpHandler
HttpHandler implementation.| Constructor and Description |
|---|
JaxwsHandler(Object implementor)
Create JaxwsHandler based on WebService implementation class, which will operate in synchronous mode.
|
JaxwsHandler(Object implementor,
boolean isAsync)
Create JaxwsHandler based on WebService implementation class.
|
JaxwsHandler(Object implementor,
boolean isAsync,
List<Source> metadata,
Map<String,Object> properties)
Create JaxwsHandler based on WebService implementation class.
|
JaxwsHandler(com.sun.xml.ws.api.server.WSEndpoint endpoint)
Create JaxwsHandler based on
WSEndpoint, which will operate in synchronous mode. |
JaxwsHandler(com.sun.xml.ws.api.server.WSEndpoint endpoint,
boolean isAsync)
Create JaxwsHandler based on
WSEndpoint, which will operate in synchronous mode. |
| Modifier and Type | Method and Description |
|---|---|
long |
getAsyncTimeout(TimeUnit timeUnit) |
boolean |
isAsync() |
void |
service(org.glassfish.grizzly.http.server.Request req,
org.glassfish.grizzly.http.server.Response res)
Main entry point of the
HttpHandler to service a request |
void |
setAsyncTimeout(long timeout,
TimeUnit timeUnit) |
void |
start() |
destroy, getErrorPageGenerator, getName, getRequestExecutorProvider, getRequestURIEncoding, getSessionCookieName, getSessionManager, isAllowCustomStatusMessage, isAllowEncodedSlash, sendAcknowledgment, setAllowCustomStatusMessage, setAllowEncodedSlash, setDecodeUrl, setDispatcherHelper, setRequestURIEncoding, setRequestURIEncoding, updatePathspublic JaxwsHandler(Object implementor)
implementor - WebService implementation.public JaxwsHandler(Object implementor, boolean isAsync)
implementor - WebService implementation class.isAsync - if true the handler will execute WebService in asynchronous mode, otherwise synchronous.public JaxwsHandler(Object implementor, boolean isAsync, List<Source> metadata, Map<String,Object> properties)
implementor - WebService implementation class.isAsync - if true the handler will execute WebService in asynchronous mode, otherwise synchronous.metadata - Other documents that become SDDocuments. Can be null.properties - extra properties to be used, when constructing WebService WSEndpoint.public JaxwsHandler(com.sun.xml.ws.api.server.WSEndpoint endpoint)
WSEndpoint, which will operate in synchronous mode.endpoint - WSEndpoint.public JaxwsHandler(com.sun.xml.ws.api.server.WSEndpoint endpoint,
boolean isAsync)
WSEndpoint, which will operate in synchronous mode.endpoint - WSEndpoint.isAsync - if true the handler will execute WebService in asynchronous mode, otherwise synchronous.public void start()
start in class org.glassfish.grizzly.http.server.HttpHandlerpublic boolean isAsync()
public void setAsyncTimeout(long timeout,
TimeUnit timeUnit)
public long getAsyncTimeout(TimeUnit timeUnit)
public void service(org.glassfish.grizzly.http.server.Request req,
org.glassfish.grizzly.http.server.Response res)
throws Exception
HttpHandler to service a requestservice in class org.glassfish.grizzly.http.server.HttpHandlerreq - incoming HTTP requestres - HTTP response to prepareExceptionCopyright © 2017–2021 Oracle Corporation. All rights reserved.