public class HttpResponseWrapper extends Object
| Constructor and Description |
|---|
HttpResponseWrapper(org.apache.commons.httpclient.HttpMethodBase method)
Constructor - defines response result based on specified HttpMethodBase instance.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBody() |
InputStream |
getBodyAsInputStream() |
String |
getCharset() |
long |
getContentLength() |
KeyValuePair<String>[] |
getHeaders() |
String |
getMimeType() |
int |
getStatusCode() |
String |
getStatusText() |
public HttpResponseWrapper(org.apache.commons.httpclient.HttpMethodBase method)
method - public long getContentLength()
public String getCharset()
public String getMimeType()
public byte[] getBody()
public InputStream getBodyAsInputStream()
public KeyValuePair<String>[] getHeaders()
public int getStatusCode()
public String getStatusText()
Copyright © 2022 WSO2. All rights reserved.