|
Spring for Android | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.http.client.AbstractClientHttpResponse
public abstract class AbstractClientHttpResponse
Abstract base for ClientHttpResponse
.
Constructor Summary | |
---|---|
AbstractClientHttpResponse()
|
Method Summary | |
---|---|
void |
close()
Closes this response, freeing any resources created. |
protected abstract void |
closeInternal()
Abstract template method that closes the response. |
java.io.InputStream |
getBody()
Return the body of the message as an input stream. |
protected abstract java.io.InputStream |
getBodyInternal()
Abstract template method that returns the body. |
HttpStatus |
getStatusCode()
Return the HTTP status code of the response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.http.client.ClientHttpResponse |
---|
getRawStatusCode, getStatusText |
Methods inherited from interface org.springframework.http.HttpMessage |
---|
getHeaders |
Constructor Detail |
---|
public AbstractClientHttpResponse()
Method Detail |
---|
public HttpStatus getStatusCode() throws java.io.IOException
ClientHttpResponse
getStatusCode
in interface ClientHttpResponse
java.io.IOException
- in case of I/O errorspublic java.io.InputStream getBody() throws java.io.IOException
HttpInputMessage
getBody
in interface HttpInputMessage
java.io.IOException
- in case of I/O Errorspublic void close()
ClientHttpResponse
close
in interface ClientHttpResponse
protected abstract java.io.InputStream getBodyInternal() throws java.io.IOException
java.io.IOException
protected abstract void closeInternal()
|
Spring for Android | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |