|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xcap.client.XcapClientResponse
public class XcapClientResponse
The XcapClientResponse is returned from an XcapClientRequest send() method call.
XcapClientRequest.send()
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME
Classname |
static java.util.logging.Logger |
LOGGER
Logger for this class |
Method Summary | |
---|---|
boolean |
containsHeader(java.lang.String name)
Returns a boolean indicating whether the named response header has already been set. |
int |
getContentLength()
Returns the content length |
java.lang.String |
getContentType()
Retrieves the content-type of the response. |
java.io.IOException |
getException()
Returns the exception stored during a request. |
java.lang.String |
getHeader(java.lang.String header)
|
java.util.Enumeration |
getHeaderNames()
|
java.util.Enumeration |
getHeaders(java.lang.String header)
|
java.lang.String |
getHttpVersion()
|
int |
getStatusCode()
|
java.lang.String |
getStatusMessage()
|
java.lang.String |
getXml()
Retrieves the XML response returned for GET request. |
void |
setException(java.io.IOException ioe)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASSNAME
public static final java.util.logging.Logger LOGGER
Method Detail |
---|
public int getStatusCode() throws java.io.IOException
java.io.IOException
public java.lang.String getStatusMessage() throws java.io.IOException
java.io.IOException
public java.lang.String getXml()
XcapResponse
getXml
in interface XcapResponse
public java.lang.String getHttpVersion()
public java.lang.String getContentType()
XcapResponse
getContentType
in interface XcapResponse
public java.util.Enumeration getHeaderNames()
public java.lang.String getHeader(java.lang.String header)
public java.util.Enumeration getHeaders(java.lang.String header)
public boolean containsHeader(java.lang.String name)
containsHeader
in interface XcapResponse
name
- The header name
true
if the named response header has already been
set; false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object
public int getContentLength()
public void setException(java.io.IOException ioe)
public java.io.IOException getException()
RequestTask.run()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |