public interface ServerConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ASYNC_RESPONSE_PROPERTIES
This property can be used by an async service implementation to set response context properties to be used when the response is sent over a new connection.
|
static java.lang.String |
HTTP_SERVLET_REQUEST
This property can be used by a service implementation class to get the HTTP servlet request when the caller of the webservices uses HTTP transport.
|
static java.lang.String |
HTTP_SERVLET_RESPONSE
This property can be used by a service implementation class to get the HTTP servlet response when the caller of the webservices uses HTTP transport.
|
static final java.lang.String HTTP_SERVLET_REQUEST
javax.xml.rpc.server.ServiceLifecyle
and store the Object passed into the init method which is an instance of javax.xml.rpc.server.ServletEndpointContext
. When a method in the service implementation class is invoked, the ServletEndpointContext's method getMessageContext returns a javax.xml.rpc.handler.MessageContext
. The MessageContext has a method getProperty which can use this constant as a property name. The object returned is an instance of javax.servlet.http.HttpServletRequest
.
Type: java.lang.String
static final java.lang.String HTTP_SERVLET_RESPONSE
javax.xml.rpc.server.ServiceLifecyle
and store the Object passed into the init method which is an instance of javax.xml.rpc.server.ServletEndpointContext
. When a method in the service implementation class is invoked, the ServletEndpointContext's method getMessageContext returns a javax.xml.rpc.handler.MessageContext
. The MessageContext has a method getProperty which can use this constant as a property name. The object returned is an instance of javax.servlet.http.HttpServletResponse
.
Type: java.lang.String
static final java.lang.String ASYNC_RESPONSE_PROPERTIES
getRequestContext