
com.github.kristofa.brave.jersey.JerseyHttpResponse Maven / Gradle / Ivy
package com.github.kristofa.brave.jersey;
import com.github.kristofa.brave.http.HttpResponse;
import com.sun.jersey.api.client.ClientResponse;
public class JerseyHttpResponse implements HttpResponse {
private final ClientResponse clientResponse;
public JerseyHttpResponse(ClientResponse clientResponse) {
this.clientResponse = clientResponse;
}
@Override
public int getHttpStatusCode() {
return clientResponse.getStatus();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy