public class JsonBodyReader extends Object implements BodyReader
| Constructor and Description |
|---|
JsonBodyReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(com.ning.http.client.Response response) |
<T> T |
readEntity(com.ning.http.client.Response resp,
Class<T> entityClass) |
<T> T |
readEntity(com.ning.http.client.Response resp,
Class<T> entityClass,
String charset) |
<T> T |
readEntity(com.ning.http.client.Response resp,
com.fasterxml.jackson.core.type.TypeReference valueTypeRef) |
<T> T |
readEntity(com.ning.http.client.Response resp,
com.fasterxml.jackson.core.type.TypeReference valueTypeRef,
String charset) |
public boolean canRead(com.ning.http.client.Response response)
canRead in interface BodyReaderpublic <T> T readEntity(com.ning.http.client.Response resp,
Class<T> entityClass)
throws IOException
readEntity in interface BodyReaderIOExceptionpublic <T> T readEntity(com.ning.http.client.Response resp,
Class<T> entityClass,
String charset)
throws IOException
readEntity in interface BodyReaderIOExceptionpublic <T> T readEntity(com.ning.http.client.Response resp,
com.fasterxml.jackson.core.type.TypeReference valueTypeRef)
throws IOException
readEntity in interface BodyReaderIOExceptionpublic <T> T readEntity(com.ning.http.client.Response resp,
com.fasterxml.jackson.core.type.TypeReference valueTypeRef,
String charset)
throws IOException
readEntity in interface BodyReaderIOExceptionCopyright © 2009–2014. All rights reserved.