public abstract class MessageUpdatableContext extends Object implements MessageContext
MessageContext.Scope
Modifier and Type | Field and Description |
---|---|
(package private) Packet |
packet |
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 and Description |
---|
MessageUpdatableContext(Packet packet)
Creates a new instance of MessageUpdatableContext
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object obj) |
boolean |
containsValue(Object obj) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object obj) |
(package private) MessageContextImpl |
getMessageContext() |
(package private) Message |
getPacketMessage()
Updates Message in the packet with user modifications
returns the new packet's message
|
MessageContext.Scope |
getScope(String name) |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String str,
Object obj) |
void |
putAll(Map<? extends String,? extends Object> map) |
Object |
remove(Object obj) |
(package private) abstract void |
setPacketMessage(Message newMessage)
Sets Message in the packet
Any user modifications done on previous Message are lost.
|
void |
setScope(String name,
MessageContext.Scope scope) |
int |
size() |
(package private) abstract void |
updateMessage()
Updates Message in the packet with user modifications
|
void |
updatePacket()
Updates the complete packet with user modfications to the message and
properties cahnges in MessageContext
|
Collection<Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
final Packet packet
public MessageUpdatableContext(Packet packet)
abstract void updateMessage()
Message getPacketMessage()
abstract void setPacketMessage(Message newMessage)
public final void updatePacket()
MessageContextImpl getMessageContext()
public void setScope(String name, MessageContext.Scope scope)
setScope
in interface MessageContext
public MessageContext.Scope getScope(String name)
getScope
in interface MessageContext
public boolean containsKey(Object obj)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object obj)
containsValue
in interface Map<String,Object>
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.