List of usage examples for org.springframework.http.client ClientHttpResponse interface-usage
From source file com.yoho.core.trace.instrument.web.client.TraceHttpResponse.java
/**
* Implementation of {@link ClientHttpResponse} that upon
* {@link ClientHttpResponse#close() closing the response}
* {@link TraceRestTemplateInterceptor#finish() closes the span}
*
* @author Dave Syer
From source file grails.plugin.cloudfoundry.GrailsHttpResponse.java
/** * Based on package-default org.springframework.http.client.SimpleClientHttpResponse. * * @author Burt Beckwith */ public class GrailsHttpResponse implements ClientHttpResponse {
From source file cz.jirutka.spring.http.client.cache.internal.CombinedClientHttpResponse.java
/**
* {@link ClientHttpResponse} implementation that combines an existing response
* with a different body. It delegates all methods to the underlying
* {@code ClientHttpResponse} expect {@link #getBody()}, that returns the
* specified body instead of the one inside the underlying response.
*/
From source file com.nimble.http.client.GzipClientHttpResponse.java
public class GzipClientHttpResponse implements ClientHttpResponse { private final HttpURLConnection connection; private HttpHeaders headers; public GzipClientHttpResponse(HttpURLConnection connection) {
From source file org.zalando.riptide.BufferingClientHttpResponse.java
final class BufferingClientHttpResponse implements ClientHttpResponse { private final ClientHttpResponse response; private final Optional<byte[]> body; private BufferingClientHttpResponse(final ClientHttpResponse response, final Optional<byte[]> body) {
From source file org.dthume.spring.http.client.httpcomponents.HttpComponentsClientHttpResponse.java
/**
* Implementation of {@link ClientHttpResponse} based upon Apache
* HttpComponents/client.
*
* @author dth
*/
From source file cz.jirutka.spring.http.client.cache.internal.InMemoryClientHttpResponse.java
@Data @EqualsAndHashCode(doNotUseGetters = true) @NotThreadSafe //HttpStatus is mutable public class InMemoryClientHttpResponse implements ClientHttpResponse, Serializable { private static final long serialVersionUID = 1L;
From source file guru.nidi.ramltester.spring.SpringClientHttpResponseRamlResponse.java
/** * */ public class SpringClientHttpResponseRamlResponse implements ClientHttpResponse, RamlResponse { private final ClientHttpResponse response; private final String encoding;
From source file org.greencheek.spring.rest.SSLCachingHttpComponentsClientHttpResponse.java
/**
* {@link org.springframework.http.client.ClientHttpResponse} implementation that uses
* Apache HttpComponents HttpClient to execute requests.
*
* <p>Created via the {@link SSLCachingHttpComponentsClientHttpRequest}.
*