com.sun.xml.ws.handler
Class LogicalMessageContextImpl
java.lang.Object
com.sun.xml.ws.handler.MessageUpdatableContext
com.sun.xml.ws.handler.LogicalMessageContextImpl
- All Implemented Interfaces:
- Map<String,Object>, LogicalMessageContext, MessageContext
class LogicalMessageContextImpl
- extends MessageUpdatableContext
- implements LogicalMessageContext
Implementation of LogicalMessageContext. This class is used at runtime
to pass to the handlers for processing logical messages.
This Class delegates most of the fuctionality to Packet
- See Also:
Packet
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Fields inherited from interface javax.xml.ws.handler.MessageContext |
HTTP_REQUEST_HEADERS, HTTP_REQUEST_METHOD, HTTP_RESPONSE_CODE, HTTP_RESPONSE_HEADERS, INBOUND_MESSAGE_ATTACHMENTS, MESSAGE_OUTBOUND_PROPERTY, OUTBOUND_MESSAGE_ATTACHMENTS, PATH_INFO, QUERY_STRING, REFERENCE_PARAMETERS, SERVLET_CONTEXT, SERVLET_REQUEST, SERVLET_RESPONSE, WSDL_DESCRIPTION, WSDL_INTERFACE, WSDL_OPERATION, WSDL_PORT, WSDL_SERVICE |
Methods inherited from class com.sun.xml.ws.handler.MessageUpdatableContext |
clear, containsKey, containsValue, entrySet, get, getMessageContext, getPacketMessage, getScope, isEmpty, keySet, put, putAll, remove, setScope, size, updatePacket, values |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
LogicalMessageContextImpl
public LogicalMessageContextImpl(WSBinding binding,
BindingContext defaultJAXBContext,
Packet packet)
getMessage
public LogicalMessage getMessage()
- Specified by:
getMessage
in interface LogicalMessageContext
setPacketMessage
void setPacketMessage(Message newMessage)
- Description copied from class:
MessageUpdatableContext
- Sets Message in the packet
Any user modifications done on previous Message are lost.
- Specified by:
setPacketMessage
in class MessageUpdatableContext
updateMessage
protected void updateMessage()
- Description copied from class:
MessageUpdatableContext
- Updates Message in the packet with user modifications
- Specified by:
updateMessage
in class MessageUpdatableContext
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.