org.mockserver.codec.MockServerHttpServerCodec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockserver-core Show documentation
Show all versions of mockserver-core Show documentation
Functionality used by all MockServer modules for matching and expectations
package org.mockserver.codec;
import io.netty.channel.CombinedChannelDuplexHandler;
import org.mockserver.logging.MockServerLogger;
/**
* @author jamesdbloom
*/
public class MockServerHttpServerCodec extends CombinedChannelDuplexHandler {
public MockServerHttpServerCodec(MockServerLogger mockServerLogger, boolean isSecure) {
init(new NettyHttpToMockServerHttpRequestDecoder(mockServerLogger, isSecure), new MockServerHttpToNettyHttpResponseEncoder(mockServerLogger));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy