Package com.sun.identity.liberty.ws.paos
Class PAOSRequest
java.lang.Object
com.sun.identity.liberty.ws.paos.PAOSRequest
The
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 Summary
ConstructorDescriptionPAOSRequest
(String xmlString) Constructs thePAOSRequest
Object.PAOSRequest
(String responseConsumerURL, String service, String messageID, Boolean mustUnderstand, String actor) Constructs thePAOSRequest
Object.PAOSRequest
(Element element) Constructs thePAOSRequest
Object. -
Method Summary
Modifier and TypeMethodDescriptiongetActor()
Returns value ofactor
attribute.Returns the value of the messageID attribute.Returns the value of the responseConsumerURL attribute.Returns the value of the service attribute.Returns value ofmustUnderstand
attribute.void
Sets the value ofactor
attribute.void
setMessageID
(String messageID) Sets the value of the messageID attribute.void
setMustUnderstand
(Boolean mustUnderstand) Sets the value of themustUnderstand
attribute.void
setResponseConsumerURL
(String responseConsumerURL) Sets the value of the responseConsumerURL attribute.void
setService
(String service) Sets the value of the service attribute.Returns a String representation of this Object.toXMLString
(boolean includeNSPrefix, boolean declareNS) Returns a String representation
-
Constructor Details
-
PAOSRequest
public PAOSRequest(String responseConsumerURL, String service, String messageID, Boolean mustUnderstand, String actor) throws PAOSException Constructs thePAOSRequest
Object.- Parameters:
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 attribute- Throws:
PAOSException
- ifPAOSRequest
cannot be created.
-
PAOSRequest
Constructs thePAOSRequest
Object.- Parameters:
element
- the Document Element of PAOSRequest
object.- Throws:
PAOSException
- ifPAOSRequest
cannot be created.
-
PAOSRequest
Constructs thePAOSRequest
Object.- Parameters:
xmlString
- the XML String representation of this object.- Throws:
PAOSException
- ifPAOSRequest
cannot be created.
-
-
Method Details
-
getResponseConsumerURL
Returns the value of the responseConsumerURL attribute.- Returns:
- the value of the responseConsumerURL attribute.
- See Also:
-
setResponseConsumerURL
Sets the value of the responseConsumerURL attribute.- Parameters:
responseConsumerURL
- the value of the responseConsumerURL attribute- See Also:
-
getService
Returns the value of the service attribute.- Returns:
- the value of the service attribute.
- See Also:
-
setService
Sets the value of the service attribute.- Parameters:
service
- the value of the service attribute- See Also:
-
getMessageID
Returns the value of the messageID attribute.- Returns:
- the value of the messageID attribute.
- See Also:
-
setMessageID
Sets the value of the messageID attribute.- Parameters:
messageID
- the value of the messageID attribute- See Also:
-
isMustUnderstand
Returns value ofmustUnderstand
attribute.- Returns:
- value of
mustUnderstand
attribute.
-
setMustUnderstand
Sets the value of themustUnderstand
attribute.- Parameters:
mustUnderstand
- the value ofmustUnderstand
attribute.
-
getActor
Returns value ofactor
attribute.- Returns:
- value of
actor
attribute
-
setActor
Sets the value ofactor
attribute.- Parameters:
actor
- the value ofactor
attribute
-
toXMLString
Returns a String representation of this Object.- Returns:
- a String representation of this Object.
- Throws:
PAOSException
- if it could not create String object
-
toXMLString
Returns a String representation- Parameters:
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.- Returns:
- a String representation of this Object.
- Throws:
PAOSException
- ,if it could not create String object.
-