org.zalando.logbook.netty.Ignoring Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logbook-netty Show documentation
Show all versions of logbook-netty Show documentation
HTTP Client interceptor for request and response logging
package org.zalando.logbook.netty;
import io.netty.handler.codec.http.HttpContent;
import io.netty.handler.codec.http.HttpMessage;
import lombok.AllArgsConstructor;
@AllArgsConstructor
final class Ignoring implements State {
private final Buffering buffering;
@Override
public State with() {
return buffering;
}
@Override
public State buffer(final HttpMessage message, final HttpContent content) {
buffering.buffer(message, content);
return this;
}
}