Package com.iplanet.services.comm.share
Class Request
- java.lang.Object
-
- com.iplanet.services.comm.share.Request
-
public class Request extends Object
ThisRequest
class represents a request. The most important information in this Request object is the content of this request. The content in this Request object can be an arbitrary String. This makes it possible that high level services and applications can define their own request XML DTDs and then embed the corresponding XML document into this Request object as its content.- See Also:
RequestSet
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContent()
Gets the content of the Request.String
getDtdID()
Gets the ID of the DTD for the content of the RequestString
getSessionID()
Gets the session ID of the request.void
setContent(String content)
Sets the content of the Request.void
setDtdID(String id)
Sets the ID of the DTD for the content of the Requestvoid
setSessionID(String id)
Sets the session ID of the request.
-
-
-
Constructor Detail
-
Request
public Request(String content)
Contructs an instance of Request class with the content of the Request. The session ID and DTD ID need to be set explicitly using corresponding setters as those are optional for the request.- Parameters:
content
- The content of this Request.
-
-
Method Detail
-
setDtdID
public void setDtdID(String id)
Sets the ID of the DTD for the content of the Request- Parameters:
id
- The ID of the DTD for the content of the Request.
-
getDtdID
public String getDtdID()
Gets the ID of the DTD for the content of the Request- Returns:
- The ID of the DTD for the content of the Request.
-
setSessionID
public void setSessionID(String id)
Sets the session ID of the request.- Parameters:
id
- A string representing the session ID of the request.
-
getSessionID
public String getSessionID()
Gets the session ID of the request.- Returns:
- The session ID of the request.
-
getContent
public String getContent()
Gets the content of the Request.- Returns:
- The content of the Request.
-
setContent
public void setContent(String content)
Sets the content of the Request.- Parameters:
content
- The content of the Request in String format.
-
-