public class Response extends Object
Response
class represents a response. The most important
information in this Response object is the content of this response. The
content in this Response object can be an arbitrary String. This makes it
possible that high level services and applications can define their own
response XML DTDs and then embed the corresponding XML document into this
Response object as its content.ResponseSet
Constructor and Description |
---|
Response(String content)
Constructs an instance of Response class with the content of the Response.
|
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Gets the content of the Response.
|
String |
getDtdID()
Gets the ID of the DTD for the content of the Response
|
void |
setContent(String content)
Sets the content of the Response.
|
void |
setDtdID(String id)
Sets the ID of the DTD for the content of the Response
|
public Response(String content)
content
- The content of this Response.public String getDtdID()
public String getContent()
public void setDtdID(String id)
id
- The ID of the DTD for the content of the Response.public void setContent(String content)
content
- The content of the Response in String format.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.