org.zalando.logbook.HttpMessage 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 java.io.IOException;
public interface HttpMessage extends BaseHttpMessage {
byte[] getBody() throws IOException;
default String getBodyAsString() throws IOException {
return new String(getBody(), getCharset());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy