Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Oracle Application Server Web Services Java API Reference 10g Release 3 (10.1.3) B25988-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

    public 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright © 2006, Oracle. All Rights Reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD