de.objektkontor.wsc.container.http.handler.RequestEncoder 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.HttpRequestEncoder;
import de.objektkontor.wsc.container.OutboundHandler;
public class RequestEncoder implements OutboundHandler {
@Override
public String name() {
return "HTTP Request Encoder";
}
@Override
public Class> inputOutboundType() {
return HttpObject.class;
}
@Override
public Class> outputOutboundType() {
return ByteBuf.class;
}
@Override
public ChannelHandler create() {
return new HttpRequestEncoder();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy