Skip navigation links

Oracle Application Server
Web Services Java API Reference
10g Release 3 (10.1.3.1.0)

B28977-01


oracle.webservices
Interface ServerConstants


public interface ServerConstants

A class that holds all the constants used to set and get server side properties.


Field Summary
static 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.

 

Field Detail

HTTP_SERVLET_REQUEST

static final 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. To use this property the service implementation must implement 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

See Also:
Constant Field Values

Skip navigation links

Copyright © 2006, Oracle. All Rights Reserved.