net.java.client.slee.resource.http.event
Interface Response
- All Superinterfaces:
- java.io.Serializable
public interface Response
- extends java.io.Serializable
This is the wrapper over response part of
org.apache.commons.httpclient.HttpMethod
- Author:
- amit.bhayani
getResponseBody
byte[] getResponseBody()
- Returns:
- Returns the response body of the HTTP method, if any, as an array
of bytes.
getResponseBodyAsString
java.lang.String getResponseBodyAsString()
- Returns:
- Returns the response body of the HTTP method, if any, as a
String.
getStatusCode
int getStatusCode()
- Returns:
- Returns the status code associated with the latest response.
getResponseHeaders
org.apache.commons.httpclient.Header[] getResponseHeaders()
- Returns:
- Returns the response headers from the most recent execution of
this request.
Copyright © 2008. All Rights Reserved.