Tabnine Logo
SslInitializer.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.ning.http.client.providers.netty.channel.SslInitializer
constructor

Best Java code snippets using com.ning.http.client.providers.netty.channel.SslInitializer.<init> (Showing top 7 results out of 315)

origin: com.ning/async-http-client

  public ChannelPipeline getPipeline() throws Exception {
    ChannelPipeline pipeline = pipeline();
    pipeline.addLast(SSL_HANDLER, new SslInitializer(ChannelManager.this));
    pipeline.addLast(HTTP_HANDLER, newHttpClientCodec());
    pipeline.addLast(WS_PROCESSOR, wsProcessor);
    if (nettyConfig.getWssAdditionalPipelineInitializer() != null)
      nettyConfig.getWssAdditionalPipelineInitializer().initPipeline(pipeline);
    return pipeline;
  }
});
origin: com.ning/async-http-client

public void verifyChannelPipeline(ChannelPipeline pipeline, String scheme) throws IOException, GeneralSecurityException {
  boolean sslHandlerConfigured = isSslHandlerConfigured(pipeline);
  if (isSecure(scheme)) {
    if (!sslHandlerConfigured)
      pipeline.addFirst(SSL_HANDLER, new SslInitializer(this));
  } else if (sslHandlerConfigured)
    pipeline.remove(SSL_HANDLER);
}
origin: com.ning/async-http-client

pipeline.addLast(SSL_HANDLER, new SslInitializer(ChannelManager.this));
pipeline.addLast(HTTP_HANDLER, newHttpClientCodec());
pipeline.addLast(INFLATER_HANDLER, newHttpContentDecompressor());
pipeline.addLast(SSL_HANDLER, new SslInitializer(ChannelManager.this));
pipeline.addLast(HTTP_HANDLER, newHttpClientCodec());
pipeline.addLast(WS_PROCESSOR, wsProcessor);
origin: io.gatling/async-http-client

  public ChannelPipeline getPipeline() throws Exception {
    ChannelPipeline pipeline = pipeline();
    pipeline.addLast(SSL_HANDLER, new SslInitializer(ChannelManager.this));
    pipeline.addLast(HTTP_HANDLER, newHttpClientCodec());
    pipeline.addLast(WS_PROCESSOR, wsProcessor);
    return pipeline;
  }
});
origin: io.gatling/async-http-client

public void verifyChannelPipeline(ChannelPipeline pipeline, String scheme) throws IOException, GeneralSecurityException {
  boolean sslHandlerConfigured = isSslHandlerConfigured(pipeline);
  if (isSecure(scheme)) {
    if (!sslHandlerConfigured)
      pipeline.addFirst(SSL_HANDLER, new SslInitializer(this));
  } else if (sslHandlerConfigured)
    pipeline.remove(SSL_HANDLER);
}
origin: io.gatling/async-http-client

pipeline.addLast(SSL_HANDLER, new SslInitializer(ChannelManager.this));
pipeline.addLast(HTTP_HANDLER, newHttpClientCodec());
if (compressionEnabled)
pipeline.addLast(SSL_HANDLER, new SslInitializer(ChannelManager.this));
pipeline.addLast(HTTP_HANDLER, newHttpClientCodec());
pipeline.addLast(WS_PROCESSOR, wsProcessor);
origin: io.gatling/async-http-client

  public ChannelPipeline getPipeline() throws Exception {
    ChannelPipeline pipeline = pipeline();
    pipeline.addLast(SSL_HANDLER, new SslInitializer(ChannelManager.this));
    pipeline.addLast(HTTP_HANDLER, newHttpClientCodec());
    if (compressionEnabled)
      pipeline.addLast(INFLATER_HANDLER, new HttpContentDecompressor());
    pipeline.addLast(CHUNKED_WRITER_HANDLER, new ChunkedWriteHandler());
    pipeline.addLast(HTTP_PROCESSOR, httpProcessor);
    return pipeline;
  }
});
com.ning.http.client.providers.netty.channelSslInitializer<init>

Popular methods of SslInitializer

    Popular in Java

    • Running tasks concurrently on multiple threads
    • getOriginalFilename (MultipartFile)
      Return the original filename in the client's filesystem.This may contain path information depending
    • getSharedPreferences (Context)
    • scheduleAtFixedRate (ScheduledExecutorService)
    • Graphics2D (java.awt)
      This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
    • FileOutputStream (java.io)
      An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
    • FileReader (java.io)
      A specialized Reader that reads from a file in the file system. All read requests made by calling me
    • FileWriter (java.io)
      A specialized Writer that writes to a file in the file system. All write requests made by calling me
    • KeyStore (java.security)
      KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
    • HttpServlet (javax.servlet.http)
      Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
    • Top plugins for WebStorm
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now