|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The WebServiceSession object maintains state on the server between multiple HTTP invokes of the same Web Service operation from a single client. This class relies on HTTP sessions to maintain state.
When used in a stand-alone client application, this object can be used to main state in the client when invoking a particular Web service multiple times.
| Method Summary | |
java.lang.Object |
getAttribute(java.lang.String name)
Returns the value of an attribute. |
java.util.Iterator |
getAttributeNames()
Returns the names of all the attributes associated with this session. |
java.lang.Object |
getRequest()
Returns the underlying HTTP request. |
java.lang.Object |
getUnderlyingSession()
Returns the underlying HTTP session. |
void |
invalidate()
Invalidates the session. |
void |
removeAttribute(java.lang.String name)
Removes the specified attribute. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Sets the value of the specified attribute. |
| Method Detail |
public java.lang.Object getUnderlyingSession()
throws javax.xml.rpc.JAXRPCException
public java.lang.Object getRequest()
throws javax.xml.rpc.JAXRPCException
public java.lang.Object getAttribute(java.lang.String name)
name - name of the attribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
name - name of the attributevalue - value of the attributepublic java.util.Iterator getAttributeNames()
public void removeAttribute(java.lang.String name)
name - name of the attribute to be removedpublic void invalidate()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||