io.higgs.ws.client.WebSocketInitializer Maven / Gradle / Ivy
The newest version!
package io.higgs.ws.client;
import io.higgs.core.ssl.SSLContextFactory;
import io.higgs.http.client.ClientIntializer;
import io.higgs.http.client.ConnectHandler;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelPipeline;
import io.netty.channel.SimpleChannelInboundHandler;
import io.netty.handler.codec.http.HttpClientCodec;
import io.netty.handler.codec.http.HttpObjectAggregator;
import io.netty.handler.codec.http.HttpRequest;
import io.netty.handler.codec.http.HttpRequestEncoder;
import io.netty.handler.codec.http.HttpResponseDecoder;
/**
* @author Courtney Robinson
*/
public class WebSocketInitializer extends ClientIntializer {
protected final int maxContentLength;
private final String fullUrl;
protected final SSLContextFactory sslCtx = new SSLContextFactory();
public WebSocketInitializer(int maxContentLength, boolean ssl, SimpleChannelInboundHandler
© 2015 - 2025 Weber Informatics LLC | Privacy Policy