|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.client.toolkit.sessions.TerminateSession
A SessionRequirement
to specify that a request should join
an existing session, then terminate that session after the request has
finished processing.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private SessionID |
mID
The ID of the existing session to join. |
Constructor Summary | |
TerminateSession(Session session)
Creates a session requirement to join then terminate the specified session. |
|
TerminateSession(SessionID id)
Creates a session requirement to join then terminate the specified session. |
|
TerminateSession(java.lang.String id)
Creates a session requirement to join then terminate the specified session. |
Method Summary | |
java.lang.String |
generateXML()
Generates the XML string representation of the session requirements for including within a perform document request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private final SessionID mID
Constructor Detail |
public TerminateSession(SessionID id)
id
- the session to join then terminatepublic TerminateSession(Session session)
session
- the session to join then terminatepublic TerminateSession(java.lang.String id)
id
- the session identifier string to join then terminateMethod Detail |
public java.lang.String generateXML()
SessionRequirements
generateXML
in interface SessionRequirements
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |