List of usage examples for org.apache.http.nio.protocol AsyncNHttpServiceHandler AsyncNHttpServiceHandler
public AsyncNHttpServiceHandler(final HttpProcessor httpProcessor, final HttpResponseFactory responseFactory, final ConnectionReuseStrategy connStrategy, final ByteBufferAllocator allocator, final HttpParams params)
From source file:com.zotoh.maedr.device.apache.StreamedHttpServiceHandler.java
/** * @param httpProcessor/* ww w . jav a2 s . co m*/ * @param responseFactory * @param connStrategy * @param allocator * @param params */ public StreamedHttpServiceHandler(final HttpProcessor httpProcessor, final HttpResponseFactory responseFactory, final ConnectionReuseStrategy connStrategy, final ByteBufferAllocator allocator, final HttpParams params) { this.asyncHandler = new AsyncNHttpServiceHandler(httpProcessor, responseFactory, connStrategy, allocator, params); this.asyncHandler.setHandlerResolver(new RequestHandlerResolverAdaptor()); }