public interface ValueReader<T>
Modifier and Type | Method and Description |
---|---|
default T |
read(org.apache.http.HttpEntity entity) |
default T |
read(org.apache.http.HttpResponse response) |
default T |
read(InputStream inputStream)
Deprecated.
|
default T |
read(InputStream inputStream,
org.apache.http.entity.ContentType contentType) |
default T |
read(InputStream inputStream,
String mimeType,
Charset charset) |
default T read(@Nonnull org.apache.http.HttpResponse response) throws IOException
IOException
default T read(@Nullable org.apache.http.HttpEntity entity) throws IOException
IOException
default T read(@Nonnull InputStream inputStream, @Nullable org.apache.http.entity.ContentType contentType) throws IOException
IOException
default T read(@Nonnull InputStream inputStream, @Nullable String mimeType, @Nullable Charset charset) throws IOException
IOException
@Deprecated default T read(@Nonnull InputStream inputStream) throws IOException
IOException
Copyright © 2013–2017. All rights reserved.