public abstract class AbstractMessageContext extends Object implements MessageContext
MessageContext instances.| Constructor and Description |
|---|
AbstractMessageContext() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProperty(String name)
Check if this message context contains a property with the given name.
|
Object |
getProperty(String name)
Gets the value of a specific property from the
MessageContext. |
String[] |
getPropertyNames()
Return the names of all properties in this
MessageContext. |
void |
removeProperty(String name)
Removes a property from the
MessageContext. |
void |
setProperty(String name,
Object value)
Sets the name and value of a property associated with the
MessageContext. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearResponse, getRequest, getResponse, hasResponse, readResponse, setResponsepublic boolean containsProperty(String name)
MessageContextcontainsProperty in interface MessageContextname - the name of the property to look fortrue if the MessageContext contains the property; false otherwisepublic Object getProperty(String name)
MessageContextMessageContext.getProperty in interface MessageContextname - name of the property whose value is to be retrievedpublic String[] getPropertyNames()
MessageContextMessageContext.getPropertyNames in interface MessageContextpublic void removeProperty(String name)
MessageContextMessageContext.removeProperty in interface MessageContextname - name of the property to be removedpublic void setProperty(String name, Object value)
MessageContextMessageContext. If the
MessageContext contains a value of the same property, the old value is replaced.setProperty in interface MessageContextname - name of the property associated with the valuevalue - value of the propertyCopyright © 2020 Pivotal Software. All rights reserved.