All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zalando.logbook.ForwardingHttpResponse Maven / Gradle / Ivy

There is a newer version: 3.10.0
Show newest version
package org.zalando.logbook;

import org.apiguardian.api.API;

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();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy