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

de.objektkontor.wsc.container.http.handler.ResponseDecoder Maven / Gradle / Ivy

package de.objektkontor.wsc.container.http.handler;

import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandler;
import io.netty.handler.codec.http.HttpObject;
import io.netty.handler.codec.http.HttpResponseDecoder;
import de.objektkontor.wsc.container.InboundHandler;

public class ResponseDecoder implements InboundHandler {

    @Override
    public String name() {
        return "HTTP Response Decoder";
    }

    @Override
    public Class inputInboundType() {
        return ByteBuf.class;
    }

    @Override
    public Class outputInboundType() {
        return HttpObject.class;
    }

    @Override
    public ChannelHandler create() {
        return new HttpResponseDecoder();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy