Package org.alfresco.httpclient
Class HttpMethodResponse
- java.lang.Object
-
- org.alfresco.httpclient.HttpMethodResponse
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.httpclient.HttpMethodmethod
-
Constructor Summary
Constructors Constructor Description HttpMethodResponse(org.apache.commons.httpclient.HttpMethod method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetContentAsStream()StringgetContentType()StringgetHeader(String name)intgetStatus()voidrelease()
-
-
-
Constructor Detail
-
HttpMethodResponse
public HttpMethodResponse(org.apache.commons.httpclient.HttpMethod method) throws IOException- Throws:
IOException
-
-
Method Detail
-
getContentAsStream
public InputStream getContentAsStream() throws IOException
- Specified by:
getContentAsStreamin interfaceResponse- Throws:
IOException
-
getContentType
public String getContentType()
- Specified by:
getContentTypein interfaceResponse
-
-