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

org.zalando.logbook.netty.Ignoring Maven / Gradle / Ivy

There is a newer version: 3.9.0
Show newest version
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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy