|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.ws.handler Interface MessageContext
- All Known Subinterfaces:
- LogicalMessageContext, SOAPMessageContext
接口
MessageContext
抽象化由 handle
方法中的处理程序处理的消息上下文。
MessageContext
接口提供管理属性集的方法。MessageContext
属性使处理程序链中的处理程序能够共享相关处理状态。
version | 1.1 |
See also | javax.xml.rpc.handler.Handler |
The interface MessageContext
abstracts the message
context that is processed by a handler in the handle
method.
The MessageContext
interface provides methods to
manage a property set. MessageContext
properties
enable handlers in a handler chain to share processing related
state.
- Since:
- JAX-WS 2.0
Nested Class Summary | |
---|---|
static class |
MessageContext.Scope
Property scope. |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Field Summary | |
---|---|
static String |
HTTP_REQUEST_HEADERS
Standard property: HTTP request headers. |
static String |
HTTP_REQUEST_METHOD
Standard property: HTTP request method. |
static String |
HTTP_RESPONSE_CODE
Standard property: HTTP response status code. |
static String |
HTTP_RESPONSE_HEADERS
Standard property: HTTP response headers. |
static String |
INBOUND_MESSAGE_ATTACHMENTS
Standard property: Map of attachments to a message for the inbound message, key is the MIME Content-ID, value is a DataHandler. |
static String |
MESSAGE_OUTBOUND_PROPERTY
Standard property: message direction, true for
outbound messages, false for inbound. |
static String |
OUTBOUND_MESSAGE_ATTACHMENTS
Standard property: Map of attachments to a message for the outbound message, key is the MIME Content-ID, value is a DataHandler. |
static String |
PATH_INFO
Standard property: Request Path Info Type: String |
static String |
QUERY_STRING
Standard property: Query string for request. |
static String |
SERVLET_CONTEXT
Standard property: servlet context object. |
static String |
SERVLET_REQUEST
Standard property: servlet request object. |
static String |
SERVLET_RESPONSE
Standard property: servlet response object. |
static String |
WSDL_DESCRIPTION
Standard property: input source for WSDL document. |
static String |
WSDL_INTERFACE
Standard property: name of wsdl interface (2.0) or port type (1.1). |
static String |
WSDL_OPERATION
Standard property: name of WSDL operation. |
static String |
WSDL_PORT
Standard property: name of WSDL port. |
static String |
WSDL_SERVICE
Standard property: name of WSDL service. |
Method Summary | |
---|---|
MessageContext.Scope |
getScope(String name)
Gets the scope of a property. |
void |
setScope(String name,
MessageContext.Scope scope)
Sets the scope of a property. |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Field Detail |
---|
英文文档:
MESSAGE_OUTBOUND_PROPERTY
static final String MESSAGE_OUTBOUND_PROPERTY
- Standard property: message direction,
true
for outbound messages,false
for inbound.Type: boolean
- See Also:
- Constant Field Values
英文文档:
INBOUND_MESSAGE_ATTACHMENTS
static final String INBOUND_MESSAGE_ATTACHMENTS
- Standard property: Map of attachments to a message for the inbound
message, key is the MIME Content-ID, value is a DataHandler.
Type: java.util.Map
- See Also:
- Constant Field Values
英文文档:
OUTBOUND_MESSAGE_ATTACHMENTS
static final String OUTBOUND_MESSAGE_ATTACHMENTS
- Standard property: Map of attachments to a message for the outbound
message, key is the MIME Content-ID, value is a DataHandler.
Type: java.util.Map
- See Also:
- Constant Field Values
英文文档:
WSDL_DESCRIPTION
static final String WSDL_DESCRIPTION
- Standard property: input source for WSDL document.
Type: org.xml.sax.InputSource
- See Also:
- Constant Field Values
英文文档:
WSDL_SERVICE
static final String WSDL_SERVICE
- Standard property: name of WSDL service.
Type: javax.xml.namespace.QName
- See Also:
- Constant Field Values
英文文档:
WSDL_PORT
static final String WSDL_PORT
- Standard property: name of WSDL port.
Type: javax.xml.namespace.QName
- See Also:
- Constant Field Values
英文文档:
WSDL_INTERFACE
static final String WSDL_INTERFACE
- Standard property: name of wsdl interface (2.0) or port type (1.1).
Type: javax.xml.namespace.QName
- See Also:
- Constant Field Values
英文文档:
WSDL_OPERATION
static final String WSDL_OPERATION
- Standard property: name of WSDL operation.
Type: javax.xml.namespace.QName
- See Also:
- Constant Field Values
英文文档:
HTTP_RESPONSE_CODE
static final String HTTP_RESPONSE_CODE
- Standard property: HTTP response status code.
Type: java.lang.Integer
- See Also:
- Constant Field Values
英文文档:
HTTP_REQUEST_HEADERS
static final String HTTP_REQUEST_HEADERS
- Standard property: HTTP request headers.
Type: java.util.Map
> - See Also:
- Constant Field Values
英文文档:
HTTP_RESPONSE_HEADERS
static final String HTTP_RESPONSE_HEADERS
- Standard property: HTTP response headers.
Type: java.util.Map
> - See Also:
- Constant Field Values
英文文档:
HTTP_REQUEST_METHOD
static final String HTTP_REQUEST_METHOD
- Standard property: HTTP request method.
Type: java.lang.String
- See Also:
- Constant Field Values
英文文档:
SERVLET_REQUEST
static final String SERVLET_REQUEST
- Standard property: servlet request object.
Type: javax.servlet.http.HttpServletRequest
- See Also:
- Constant Field Values
英文文档:
SERVLET_RESPONSE
static final String SERVLET_RESPONSE
- Standard property: servlet response object.
Type: javax.servlet.http.HttpServletResponse
- See Also:
- Constant Field Values
英文文档:
SERVLET_CONTEXT
static final String SERVLET_CONTEXT
- Standard property: servlet context object.
Type: javax.servlet.ServletContext
- See Also:
- Constant Field Values
英文文档:
QUERY_STRING
static final String QUERY_STRING
- Standard property: Query string for request.
Type: String
- See Also:
- Constant Field Values
英文文档:
PATH_INFO
static final String PATH_INFO
- Standard property: Request Path Info
Type: String
- See Also:
- Constant Field Values
Method Detail |
---|
英文文档:
setScope
void setScope(String name, MessageContext.Scope scope)
- Sets the scope of a property.
- Parameters:
name
- Name of the property associated with theMessageContext
scope
- Desired scope of the property- Throws:
IllegalArgumentException
- if an illegal property name is specified
英文文档:
getScope
MessageContext.Scope getScope(String name)
- Gets the scope of a property.
- Parameters:
name
- Name of the property- Returns:
- Scope of the property
- Throws:
IllegalArgumentException
- if a non-existant property name is specified
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!