|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.liberty.ws.paos.PAOSResponse
public class PAOSResponse
The PAOSResponse
class is used by a web application on
HTTP server side to receive and parse a PAOS
response via an
HTTP request from the user agent side.
From this class, the original PAOSRequest
object could obtained
to correlate with this response.
Constructor Summary | |
---|---|
PAOSResponse(Element element)
Constructs the PAOSResponse Object. |
|
PAOSResponse(String xmlString)
Constructs the PAOSResponse Object. |
|
PAOSResponse(String refToMessageID,
Boolean mustUnderstand,
String actor)
Constructs the PAOSResponse Object. |
Method Summary | |
---|---|
String |
getActor()
Returns value of actor attribute. |
String |
getRefToMessageID()
Returns the value of the refToMessageID attribute. |
Boolean |
isMustUnderstand()
Returns value of mustUnderstand attribute. |
void |
setActor(String actor)
Sets the value of actor attribute. |
void |
setMustUnderstand(Boolean mustUnderstand)
Sets the value of the mustUnderstand attribute. |
void |
setRefToMessageID(String refToMessageID)
Sets the value of the refToMessageID attribute. |
String |
toXMLString()
Returns a String representation of this Object. |
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a String representation |
Constructor Detail |
---|
public PAOSResponse(String refToMessageID, Boolean mustUnderstand, String actor) throws PAOSException
PAOSResponse
Object.
refToMessageID
- the value of the refToMessageID attributemustUnderstand
- the value of the mustUnderstand attributeactor
- the value of the actor attribute
PAOSException
- if PAOSResponse
cannot be created.public PAOSResponse(Element element) throws PAOSException
PAOSResponse
Object.
element
- the Document Element of PAOS Response
object.
PAOSException
- if PAOSResponse
cannot be created.public PAOSResponse(String xmlString) throws PAOSException
PAOSResponse
Object.
xmlString
- the XML String representation of this object.
PAOSException
- if PAOSResponse
cannot be created.Method Detail |
---|
public String getRefToMessageID()
PAOSResponse.setRefToMessageID(String)
public void setRefToMessageID(String refToMessageID)
refToMessageID
- the value of the refToMessageID attributePAOSResponse.getRefToMessageID()
public Boolean isMustUnderstand()
mustUnderstand
attribute.
mustUnderstand
attribute.public void setMustUnderstand(Boolean mustUnderstand)
mustUnderstand
attribute.
mustUnderstand
- the value of mustUnderstand
attribute.public String getActor()
actor
attribute.
actor
attributepublic void setActor(String actor)
actor
attribute.
actor
- the value of actor
attributepublic String toXMLString() throws PAOSException
PAOSException
- if it could not create String objectpublic String toXMLString(boolean includeNSPrefix, boolean declareNS) throws PAOSException
includeNSPrefix
- determines whether or not the namespace
qualifier is prepended to the Element when converteddeclareNS
- determines whether or not the namespace is declared
within the Element.
PAOSException
- ,if it could not create String object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |