Deprecated API


Contents
Deprecated Interfaces
org.apache.http.nio.util.BufferInfo
          Use BufferInfo 
org.apache.http.nio.entity.HttpNIOEntity
          Use ProducingNHttpEntity 
org.apache.http.impl.nio.reactor.SSLIOSessionHandler
          Use SSLSetupHandler 
 

Deprecated Classes
org.apache.http.nio.entity.ByteArrayNIOEntity
          Use NByteArrayEntity 
org.apache.http.nio.entity.FileNIOEntity
          Use NFileEntity 
org.apache.http.impl.nio.codecs.HttpRequestParser
          use DefaultHttpRequestParser 
org.apache.http.impl.nio.codecs.HttpRequestWriter
          use DefaultHttpRequestWriter 
org.apache.http.impl.nio.codecs.HttpResponseParser
          use DefaultHttpResponseParser 
org.apache.http.impl.nio.codecs.HttpResponseWriter
          use DefaultHttpResponseWriter 
org.apache.http.nio.protocol.NHttpClientHandlerBase
          No longer used. 
org.apache.http.nio.protocol.NHttpServiceHandlerBase
          No longer used. 
org.apache.http.impl.nio.reactor.SessionHandle
          use IOSessionImpl 
org.apache.http.impl.nio.SSLClientIOEventDispatch
          use SSLClientIOEventDispatch 
org.apache.http.impl.nio.SSLServerIOEventDispatch
          use SSLServerIOEventDispatch 
org.apache.http.nio.entity.StringNIOEntity
          Use NStringEntity 
 

Deprecated Methods
org.apache.http.HttpEntity.consumeContent()
          Use EntityUtils.consume(HttpEntity) 
org.apache.http.entity.AbstractHttpEntity.consumeContent()
          Either use HttpEntity.getContent() and call InputStream.close() on that; otherwise call HttpEntity.writeTo(OutputStream) which is required to free the resources. 
org.apache.http.entity.BasicHttpEntity.consumeContent()
          Either use BasicHttpEntity.getContent() and call InputStream.close() on that; otherwise call BasicHttpEntity.writeTo(OutputStream) which is required to free the resources. 
org.apache.http.entity.InputStreamEntity.consumeContent()
          Either use InputStreamEntity.getContent() and call InputStream.close() on that; otherwise call InputStreamEntity.writeTo(OutputStream) which is required to free the resources. 
org.apache.http.entity.HttpEntityWrapper.consumeContent()
          Either use HttpEntityWrapper.getContent() and call InputStream.close() on that; otherwise call HttpEntityWrapper.writeTo(OutputStream) which is required to free the resources. 
org.apache.http.params.DefaultedHttpParams.copy()
            
org.apache.http.params.BasicHttpParams.copy()
            
org.apache.http.params.HttpParams.copy()
            
org.apache.http.impl.SocketHttpServerConnection.createHttpDataReceiver(Socket, int, HttpParams)
          Use SocketHttpServerConnection.createSessionInputBuffer(Socket, int, HttpParams) 
org.apache.http.impl.SocketHttpServerConnection.createHttpDataTransmitter(Socket, int, HttpParams)
          Use SocketHttpServerConnection.createSessionOutputBuffer(Socket, int, HttpParams) 
org.apache.http.nio.util.ContentOutputBuffer.flush()
          No longer used. 
org.apache.http.nio.protocol.AsyncNHttpServiceHandler.ServerConnState.getHttpExepction()
           
org.apache.http.nio.protocol.AsyncNHttpServiceHandler.ServerConnState.getIOExepction()
           
org.apache.http.protocol.HttpRequestHandlerRegistry.matchUriRequestPattern(String, String)
            
org.apache.http.protocol.HttpService.setConnReuseStrategy(ConnectionReuseStrategy)
          set ConnectionReuseStrategy using constructor 
org.apache.http.protocol.HttpService.setExpectationVerifier(HttpExpectationVerifier)
          set HttpExpectationVerifier using constructor 
org.apache.http.protocol.HttpService.setHandlerResolver(HttpRequestHandlerResolver)
          set HttpRequestHandlerResolver using constructor 
org.apache.http.protocol.UriPatternMatcher.setHandlers(Map)
          use UriPatternMatcher.setObjects(Map) 
org.apache.http.nio.protocol.AsyncNHttpServiceHandler.ServerConnState.setHttpExepction(HttpException)
           
org.apache.http.protocol.HttpService.setHttpProcessor(HttpProcessor)
          set HttpProcessor using constructor 
org.apache.http.nio.protocol.AsyncNHttpServiceHandler.ServerConnState.setIOExepction(IOException)
           
org.apache.http.protocol.HttpService.setParams(HttpParams)
          set HttpResponseFactory using constructor 
org.apache.http.protocol.HttpService.setResponseFactory(HttpResponseFactory)
          set HttpResponseFactory using constructor 
 

Deprecated Constructors
org.apache.http.protocol.HttpService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory)
          use HttpService.HttpService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory, HttpRequestHandlerResolver, HttpParams) 
org.apache.http.impl.nio.reactor.SSLIOSession(IOSession, SSLContext, SSLIOSessionHandler)
            
 



Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.