IT. Expert System.

Java Enterprise Edition (EE)

MessageContext


javax.xml.rpc.handler
Interface MessageContext

All Known Subinterfaces:
SOAPMessageContext
public interface MessageContext

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.

Version:
1.1
Author:
Rahul Sharma, Roberto Chinnici
See Also:
Handler

Method Summary
 boolean containsProperty(java.lang.String name)
          Returns true if the MessageContext contains a property with the specified name.
 java.lang.Object getProperty(java.lang.String name)
          Gets the value of a specific property from the MessageContext
 java.util.Iterator getPropertyNames()
          Returns an Iterator view of the names of the properties in this MessageContext
 void removeProperty(java.lang.String name)
          Removes a property (name-value pair) from the MessageContext
 void setProperty(java.lang.String name, java.lang.Object value)
          Sets the name and value of a property associated with the MessageContext.
 

Method Detail

setProperty

void setProperty(java.lang.String name,
                 java.lang.Object value)
Sets the name and value of a property associated with the MessageContext. If the MessageContext contains a value of the same property, the old value is replaced.

Parameters:
name - Name of the property associated with the MessageContext
value - Value of the property
Throws:
java.lang.IllegalArgumentException - If some aspect of the property is prevents it from being stored in the context
java.lang.UnsupportedOperationException - If this method is not supported.

getProperty

java.lang.Object getProperty(java.lang.String name)
Gets the value of a specific property from the MessageContext

Parameters:
name - Name of the property whose value is to be retrieved
Returns:
Value of the property
Throws:
java.lang.IllegalArgumentException - if an illegal property name is specified

removeProperty

void removeProperty(java.lang.String name)
Removes a property (name-value pair) from the MessageContext

Parameters:
name - Name of the property to be removed
Throws:
java.lang.IllegalArgumentException - if an illegal property name is specified

containsProperty

boolean containsProperty(java.lang.String name)
Returns true if the MessageContext contains a property with the specified name.

Parameters:
name - Name of the property whose presense is to be tested
Returns:
Returns true if the MessageContext contains the property; otherwise false

getPropertyNames

java.util.Iterator getPropertyNames()
Returns an Iterator view of the names of the properties in this MessageContext

Returns:
Iterator for the property names


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 15663 / 248376307. Delta: 0.01703 с