factory method for contentdecoder 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 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 ContentEncoder createContentEncoder 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
ContentDecoder function ( final long arg0 , final ReadableByteChannel arg1 , final SessionInputBuffer arg2 , final HttpTransportMetricsImpl arg3 ) { if ( arg0 == ContentLengthStrategy . CHUNKED ) { return new ChunkDecoder ( arg1 , arg2 , arg3 ) ; } else if ( arg0 == ContentLengthStrategy . IDENTITY ) { return new IdentityDecoder ( arg1 , arg2 , arg3 ) ; } else { return new LengthDelimitedDecoder ( arg1 , arg2 , arg3 , arg0 ) ; } }