com.github.kristofa.brave.http.HttpRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of brave-http Show documentation
Show all versions of brave-http Show documentation
Abstraction that makes it easier to implement brave in http clients and servers.
package com.github.kristofa.brave.http;
import java.net.URI;
public interface HttpRequest {
/**
* Get request URI.
*
* @return Request URI.
*/
URI getUri();
/**
* Returns the http method for request (GET, PUT, POST,...)
*
* @return Http Method for request.
*/
String getHttpMethod();
}