/** * @deprecated (4.3) no longer used. */ @Deprecated protected DefaultNHttpClientConnection createConnection( final IOSession session, final HttpResponseFactory responseFactory, final ByteBufferAllocator allocator, final HttpParams params) { return new DefaultNHttpClientConnection(session, responseFactory, allocator, params); }
/** * @deprecated (4.3) no longer used. */ @Deprecated protected DefaultNHttpClientConnection createConnection( final IOSession session, final HttpResponseFactory responseFactory, final ByteBufferAllocator allocator, final HttpParams params) { return new DefaultNHttpClientConnection(session, responseFactory, allocator, params); }
/** * @deprecated (4.3) no longer used. */ @Deprecated protected DefaultNHttpClientConnection createConnection( final IOSession session, final HttpResponseFactory responseFactory, final ByteBufferAllocator allocator, final HttpParams params) { return new DefaultNHttpClientConnection(session, responseFactory, allocator, params); }
/** * @deprecated (4.3) no longer used. */ @Deprecated protected DefaultNHttpClientConnection createConnection( final IOSession session, final HttpResponseFactory responseFactory, final ByteBufferAllocator allocator, final HttpParams params) { return new DefaultNHttpClientConnection(session, responseFactory, allocator, params); }
@Override public DefaultNHttpClientConnection createConnection(final IOSession session) { return new DefaultNHttpClientConnection( session, this.cconfig.getBufferSize(), this.cconfig.getFragmentSizeHint(), this.allocator, ConnSupport.createDecoder(this.cconfig), ConnSupport.createEncoder(this.cconfig), this.cconfig.getMessageConstraints(), this.incomingContentStrategy, this.outgoingContentStrategy, this.requestWriterFactory, this.responseParserFactory); }
@Override public DefaultNHttpClientConnection createConnection(final IOSession session) { return new DefaultNHttpClientConnection( session, this.cconfig.getBufferSize(), this.cconfig.getFragmentSizeHint(), this.allocator, ConnSupport.createDecoder(this.cconfig), ConnSupport.createEncoder(this.cconfig), this.cconfig.getMessageConstraints(), this.incomingContentStrategy, this.outgoingContentStrategy, this.requestWriterFactory, this.responseParserFactory); }
@Override public DefaultNHttpClientConnection createConnection(final IOSession iosession) { final SSLIOSession ssliosession = createSSLIOSession(iosession, this.sslcontext, this.sslHandler); iosession.setAttribute(SSLIOSession.SESSION_KEY, ssliosession); return new DefaultNHttpClientConnection( ssliosession, this.cconfig.getBufferSize(), this.cconfig.getFragmentSizeHint(), this.allocator, ConnSupport.createDecoder(this.cconfig), ConnSupport.createEncoder(this.cconfig), this.cconfig.getMessageConstraints(), this.incomingContentStrategy, this.outgoingContentStrategy, this.requestWriterFactory, this.responseParserFactory); }
@Override public DefaultNHttpClientConnection createConnection(final IOSession iosession) { final SSLIOSession ssliosession = createSSLIOSession(iosession, this.sslcontext, this.sslHandler); iosession.setAttribute(SSLIOSession.SESSION_KEY, ssliosession); return new DefaultNHttpClientConnection( ssliosession, this.cconfig.getBufferSize(), this.cconfig.getFragmentSizeHint(), this.allocator, ConnSupport.createDecoder(this.cconfig), ConnSupport.createEncoder(this.cconfig), this.cconfig.getMessageConstraints(), this.incomingContentStrategy, this.outgoingContentStrategy, this.requestWriterFactory, this.responseParserFactory); }