com.splunk
Class ResponseMessage

java.lang.Object
  extended by com.splunk.ResponseMessage

public class ResponseMessage
extends java.lang.Object

The ResponseMessage class represents an HTTP response message that includes status codes, response headers, and body content.


Method Summary
 java.io.InputStream getContent()
          Returns the body content stream.
 java.util.Map<java.lang.String,java.lang.String> getHeader()
          Returns the response headers.
 int getStatus()
          Returns the response status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContent

public java.io.InputStream getContent()
Returns the body content stream.

Returns:
The content stream.

getHeader

public java.util.Map<java.lang.String,java.lang.String> getHeader()
Returns the response headers.

Returns:
Response headers.

getStatus

public int getStatus()
Returns the response status.

Returns:
The response status.