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.HttpMethod
method
-
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 java.io.InputStream
getContentAsStream()
java.lang.String
getContentType()
java.lang.String
getHeader(java.lang.String name)
int
getStatus()
void
release()
-
-
-
Method Detail
-
getContentAsStream
public java.io.InputStream getContentAsStream() throws java.io.IOException
- Specified by:
getContentAsStream
in interfaceResponse
- Throws:
java.io.IOException
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interfaceResponse
-
getHeader
public java.lang.String getHeader(java.lang.String name)
-
-