Package com.sun.xml.ws.handler
Class MessageUpdatableContext
java.lang.Object
com.sun.xml.ws.handler.MessageUpdatableContext
- All Implemented Interfaces:
MessageContext,Map<String,Object>
- Direct Known Subclasses:
MessageHandlerContextImpl,SOAPMessageContextImpl
The class represents a MessageContext(Properties) and also allows the Message to be modified.
This is extended by SOAPMessageContextImpl and LogicalMessageContextImpl.
- Author:
- WS Development Team
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K extends Object,V extends Object> Nested classes/interfaces inherited from interface jakarta.xml.ws.handler.MessageContext
MessageContext.Scope -
Field Summary
Fields inherited from interface jakarta.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 -
Constructor Summary
ConstructorsConstructorDescriptionMessageUpdatableContext(Packet packet) Creates a new instance of MessageUpdatableContext -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object obj) booleancontainsValue(Object obj) entrySet()booleanisEmpty()keySet()voidvoidsetScope(String name, MessageContext.Scope scope) intsize()final voidUpdates the complete packet with user modfications to the message and properties cahnges in MessageContextvalues()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
MessageUpdatableContext
Creates a new instance of MessageUpdatableContext
-
-
Method Details
-
updatePacket
public final void updatePacket()Updates the complete packet with user modfications to the message and properties cahnges in MessageContext -
setScope
- Specified by:
setScopein interfaceMessageContext
-
getScope
- Specified by:
getScopein interfaceMessageContext
-
clear
public void clear() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
entrySet
-
get
-
isEmpty
public boolean isEmpty() -
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
values
-