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

com.github.kristofa.brave.http.HttpRequest Maven / Gradle / Ivy

Go to download

Abstraction that makes it easier to implement brave in http clients and servers.

There is a newer version: 4.13.6
Show newest version
package com.github.kristofa.brave.http;


import java.net.URI;

/**
 * @deprecated Replaced by {@code HttpClientAdapter} or {@code HttpServerAdapter} from brave-http
 */
@Deprecated
public interface HttpRequest {

    /**
     * Returns the entire URL, including the scheme, host and query parameters if available.
     *
     * @return Request URI.
     *
     * @see zipkin.TraceKeys#HTTP_URL
     */
    URI getUri();

    /**
     * Returns the http method for request (GET, PUT, POST,...)
     *
     * @return Http Method for request.
     */
    String getHttpMethod();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy