me.vcoder.httplogger.TraceableRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-logger Show documentation
Show all versions of http-logger Show documentation
HTTP Logger for Spring Library
The newest version!
package me.vcoder.httplogger;
import java.net.URI;
import java.util.List;
import java.util.Map;
/**
* @author baodn
* Created on 11 Apr 2018
*/
public interface TraceableRequest {
/**
* Returns the method (GET, POST, etc) of the request.
* @return the method
*/
String getMethod();
/**
* Returns the URI of the request.
* @return the URI
*/
URI getUri();
/**
* Returns a modifiable copy of the headers of the request.
* @return the headers
*/
Map> getHeaders();
/**
* Returns the remote address from which the request was sent, if available.
* @return the remote address or {@code null}
*/
String getRemoteAddress();
/**
* Get Request Body as String
* @return HTTP Request Body
*/
String getBody();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy