org.zalando.logbook.ForwardingHttpRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logbook-api Show documentation
Show all versions of logbook-api Show documentation
HTTP request and response logging
package org.zalando.logbook;
import org.apiguardian.api.API;
import org.zalando.logbook.attributes.HttpAttributes;
import java.io.IOException;
import java.util.Optional;
import static org.apiguardian.api.API.Status.STABLE;
@API(status = STABLE)
public interface ForwardingHttpRequest extends ForwardingHttpMessage, HttpRequest {
@Override
HttpRequest delegate();
@Override
default String getRemote() {
return delegate().getRemote();
}
@Override
default String getMethod() {
return delegate().getMethod();
}
@Override
default String getRequestUri() {
return delegate().getRequestUri();
}
@Override
default String getScheme() {
return delegate().getScheme();
}
@Override
default String getHost() {
return delegate().getHost();
}
@Override
default Optional getPort() {
return delegate().getPort();
}
@Override
default String getPath() {
return delegate().getPath();
}
@Override
default String getQuery() {
return delegate().getQuery();
}
@Override
default HttpRequest withBody() throws IOException {
return delegate().withBody();
}
@Override
default HttpRequest withoutBody() {
return delegate().withoutBody();
}
@Override
default HttpAttributes getAttributes() {
return delegate().getAttributes();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy