All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.kristofa.brave.jersey.JerseyHttpResponse Maven / Gradle / Ivy

Go to download

Jersey integration that uses the brave api to submit client and server side span information.

There is a newer version: 4.13.6
Show newest version
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