
org.resthub.web.support.BodyReader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resthub-web-client Show documentation
Show all versions of resthub-web-client Show documentation
RESThub webservice client for requesting REST webservices with JSON support bundled
The newest version!
package org.resthub.web.support;
import com.fasterxml.jackson.core.type.TypeReference;
import com.ning.http.client.Response;
import java.io.IOException;
public interface BodyReader {
public boolean canRead(Response response);
public T readEntity(Response resp, Class entityClass) throws IOException;
public T readEntity(Response resp, Class entityClass, String charset) throws IOException;
public T readEntity(Response resp, TypeReference valueTypeRef) throws IOException;
public T readEntity(Response resp, TypeReference valueTypeRef, String charset) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy