Example usage for io.netty.handler.codec.http HttpRequestDecoder subclass-usage

List of usage examples for io.netty.handler.codec.http HttpRequestDecoder subclass-usage

Introduction

In this page you can find the example usage for io.netty.handler.codec.http HttpRequestDecoder subclass-usage.

Usage

From source file io.higgs.http.server.HttpRequestDecoder.java

public class HttpRequestDecoder extends io.netty.handler.codec.http.HttpRequestDecoder {

    @Override
    protected HttpMessage createMessage(String[] initialLine) throws Exception {
        return new HttpRequest(HttpVersion.valueOf(initialLine[2]), HttpMethod.valueOf(initialLine[0]),
                initialLine[1]);

From source file io.vertx.core.http.impl.VertxHttpRequestDecoder.java

/**
 * A request decoder using {@link VertxHttpHeaders} which is faster than {@code DefaultHttpHeaders} used by the super class.
 */
public class VertxHttpRequestDecoder extends HttpRequestDecoder {

    public VertxHttpRequestDecoder(HttpServerOptions options) {

From source file org.wso2.carbon.transport.http.netty.listener.CustomHttpRequestDecoder.java

/**
 * custom Http Request Decoder to validate the header size.
 */
public class CustomHttpRequestDecoder extends HttpRequestDecoder {
    private static final Logger log = LoggerFactory.getLogger(CustomHttpRequestDecoder.class);