ContentEncoder function ( final long arg0 , final WritableByteChannel arg1 , final SessionOutputBuffer arg2 , final HttpTransportMetricsImpl arg3 ) { if ( arg0 == ContentLengthStrategy . CHUNKED ) { return new ChunkEncoder ( arg1 , arg2 , arg3 ) ; } else if ( arg0 == ContentLengthStrategy . IDENTITY ) { return new IdentityEncoder ( arg1 , arg2 , arg3 ) ; } else { return new LengthDelimitedEncoder ( arg1 , arg2 , arg3 , arg0 ) ; } }
factory method for contentencoder instances . concode_field_sep HttpRequest request concode_elem_sep IOSession session concode_elem_sep boolean hasBufferedOutput concode_elem_sep ContentLengthStrategy outgoingContentStrategy concode_elem_sep boolean hasBufferedInput concode_elem_sep SocketAddress remote concode_elem_sep ContentLengthStrategy incomingContentStrategy concode_elem_sep HttpConnectionMetricsImpl connMetrics concode_elem_sep SessionInputBufferImpl inbuf concode_elem_sep SessionOutputBufferImpl outbuf concode_elem_sep HttpResponse response concode_elem_sep ContentDecoder contentDecoder concode_elem_sep HttpContext context concode_elem_sep HttpTransportMetricsImpl outTransportMetrics concode_elem_sep HttpTransportMetricsImpl inTransportMetrics concode_elem_sep ContentEncoder contentEncoder concode_elem_sep int status concode_field_sep void setSocketTimeout concode_elem_sep int getLocalPort concode_elem_sep void prepareEncoder concode_elem_sep boolean hasBufferedOutput concode_elem_sep HttpConnectionMetrics getMetrics concode_elem_sep ContentDecoder createContentDecoder concode_elem_sep int getStatus concode_elem_sep void suspendInput concode_elem_sep void suspendOutput concode_elem_sep int getRemotePort concode_elem_sep void requestInput concode_elem_sep InetAddress getLocalAddress concode_elem_sep void requestOutput concode_elem_sep HttpResponse getHttpResponse concode_elem_sep void setSession concode_elem_sep HttpConnectionMetricsImpl createConnectionMetrics concode_elem_sep HttpTransportMetricsImpl createTransportMetrics concode_elem_sep void close concode_elem_sep HttpRequest getHttpRequest concode_elem_sep void assertNotClosed concode_elem_sep boolean hasBufferedInput concode_elem_sep InetAddress getRemoteAddress concode_elem_sep HttpEntity prepareDecoder concode_elem_sep int getSocketTimeout concode_elem_sep boolean isOpen concode_elem_sep String toString concode_elem_sep boolean isStale concode_elem_sep HttpContext getContext concode_elem_sep void shutdown