public class PAOSRequest extends Object
PAOSRequest
class is used by a web application on
HTTP server side to construct a PAOS
request message and send
it via an HTTP response to the user agent side.Constructor and Description |
---|
PAOSRequest(Element element)
Constructs the
PAOSRequest Object. |
PAOSRequest(String xmlString)
Constructs the
PAOSRequest Object. |
PAOSRequest(String responseConsumerURL,
String service,
String messageID,
Boolean mustUnderstand,
String actor)
Constructs the
PAOSRequest Object. |
Modifier and Type | Method and Description |
---|---|
String |
getActor()
Returns value of
actor attribute. |
String |
getMessageID()
Returns the value of the messageID attribute.
|
String |
getResponseConsumerURL()
Returns the value of the responseConsumerURL attribute.
|
String |
getService()
Returns the value of the service attribute.
|
Boolean |
isMustUnderstand()
Returns value of
mustUnderstand attribute. |
void |
setActor(String actor)
Sets the value of
actor attribute. |
void |
setMessageID(String messageID)
Sets the value of the messageID attribute.
|
void |
setMustUnderstand(Boolean mustUnderstand)
Sets the value of the
mustUnderstand attribute. |
void |
setResponseConsumerURL(String responseConsumerURL)
Sets the value of the responseConsumerURL attribute.
|
void |
setService(String service)
Sets the value of the service attribute.
|
String |
toXMLString()
Returns a String representation of this Object.
|
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a String representation
|
public PAOSRequest(String responseConsumerURL, String service, String messageID, Boolean mustUnderstand, String actor) throws PAOSException
PAOSRequest
Object.responseConsumerURL
- the value of the responseConsumerURL
attributeservice
- the value of the service attributemessageID
- the value of the messageID attributemustUnderstand
- the value of the mustUnderstand attributeactor
- the value of the actor attributePAOSException
- if PAOSRequest
cannot be created.public PAOSRequest(Element element) throws PAOSException
PAOSRequest
Object.element
- the Document Element of PAOS Request
object.PAOSException
- if PAOSRequest
cannot be created.public PAOSRequest(String xmlString) throws PAOSException
PAOSRequest
Object.xmlString
- the XML String representation of this object.PAOSException
- if PAOSRequest
cannot be created.public String getResponseConsumerURL()
PAOSRequest.setResponseConsumerURL(String)
public void setResponseConsumerURL(String responseConsumerURL)
responseConsumerURL
- the value of the responseConsumerURL
attributePAOSRequest.getResponseConsumerURL()
public String getService()
PAOSRequest.setService(String)
public void setService(String service)
service
- the value of the service attributePAOSRequest.getService()
public String getMessageID()
PAOSRequest.setMessageID(String)
public void setMessageID(String messageID)
messageID
- the value of the messageID attributePAOSRequest.getMessageID()
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.Copyright © 2010-2018, ForgeRock All Rights Reserved.