org.zalando.logbook.ForwardingHttpResponse 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 static org.apiguardian.api.API.Status.STABLE;
@API(status = STABLE)
public interface ForwardingHttpResponse extends ForwardingHttpMessage, HttpResponse {
@Override
HttpResponse delegate();
@Override
default int getStatus() {
return delegate().getStatus();
}
@Override
default HttpResponse withBody() throws IOException {
return delegate().withBody();
}
@Override
default HttpResponse withoutBody() {
return delegate().withoutBody();
}
@Override
default String getReasonPhrase() {
return delegate().getReasonPhrase();
}
@Override
default HttpAttributes getAttributes() {
return delegate().getAttributes();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy