org.zalando.logbook.BaseHttpRequest Maven / Gradle / Ivy
package org.zalando.logbook;
import java.util.Optional;
public interface BaseHttpRequest extends BaseHttpMessage {
String getRemote();
String getMethod();
/**
* Absolute Request URI including scheme, host, port (unless http/80 or https/443), path and query string.
*
* Note that the URI may be invalid if the client issued an HTTP request using a malformed URL.
*
* @return the requested URI
*/
default String getRequestUri() {
return RequestURI.reconstruct(this);
}
String getScheme();
String getHost();
Optional getPort();
String getPath();
String getQuery();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy