Example usage for org.apache.http.impl.nio.ssl SSLServerIOEventDispatch SSLServerIOEventDispatch

List of usage examples for org.apache.http.impl.nio.ssl SSLServerIOEventDispatch SSLServerIOEventDispatch

Introduction

In this page you can find the example usage for org.apache.http.impl.nio.ssl SSLServerIOEventDispatch SSLServerIOEventDispatch.

Prototype

public SSLServerIOEventDispatch(final NHttpServiceHandler handler, final SSLContext sslcontext,
        final HttpParams params) 

Source Link

Document

Creates a new instance of this class to be used for dispatching I/O event notifications to the given protocol handler using the given SSLContext .

Usage

From source file:com.zotoh.maedr.device.apache.HttpIO.java

private IOEventDispatch onSSL(NHttpServiceHandler svc, HttpParams params) throws Exception {
    Tuple t = cfgSSL(true, getSSLType(), getKeyURL(), getKeyPwd());
    return new SSLServerIOEventDispatch(svc, (SSLContext) t.get(1), params);
}