Uses of Interface
org.apache.http.params.HttpParams
| Package | Description |
|---|---|
| org.apache.http |
The core interfaces and classes of the HTTP components.
|
| org.apache.http.auth |
The API for client-side HTTP authentication against a server,
commonly referred to as HttpAuth.
|
| org.apache.http.auth.params |
Parameters for configuring HttpAuth.
|
| org.apache.http.client |
The API for client-side HTTP communication and
entry point to the HttpClient module.
|
| org.apache.http.client.params |
Parameters for configuring HttpClient.
|
| org.apache.http.conn |
The client-side connection management and handling API
at the heart of what is referred to as HttpConn.
|
| org.apache.http.conn.params |
Parameters for configuring HttpConn.
|
| org.apache.http.conn.scheme | |
| org.apache.http.conn.ssl |
TLS/SSL specific parts of the HttpConn API.
|
| org.apache.http.cookie |
The API for client-side state management via cookies,
commonly referred to as HttpCookie.
|
| org.apache.http.cookie.params |
Parameters for configuring HttpCookie.
|
| org.apache.http.impl |
Default implementations for interfaces in
org.apache.http. |
| org.apache.http.impl.auth | |
| org.apache.http.impl.client | |
| org.apache.http.impl.conn | |
| org.apache.http.impl.conn.tsccm |
The implementation of a thread-safe client connection manager.
|
| org.apache.http.impl.cookie | |
| org.apache.http.impl.io |
Default implementations for interfaces in
org.apache.http.io. |
| org.apache.http.message |
A selection of HTTP
message
implementations. |
| org.apache.http.params |
The parameterization framework for HTTP components.
|
| org.apache.http.protocol |
HTTP protocol execution framework.
|
-
Uses of HttpParams in org.apache.http
Methods in org.apache.http that return HttpParams Modifier and Type Method Description HttpParamsHttpMessage. getParams()Returns the parameters effective for this message as set byHttpMessage.setParams(HttpParams).Methods in org.apache.http with parameters of type HttpParams Modifier and Type Method Description voidHttpMessage. setParams(HttpParams params)Provides parameters to be used for the processing of this message. -
Uses of HttpParams in org.apache.http.auth
Methods in org.apache.http.auth with parameters of type HttpParams Modifier and Type Method Description AuthSchemeAuthSchemeRegistry. getAuthScheme(String name, HttpParams params)Gets theauthentication schemewith the given name.AuthSchemeAuthSchemeFactory. newInstance(HttpParams params) -
Uses of HttpParams in org.apache.http.auth.params
Methods in org.apache.http.auth.params with parameters of type HttpParams Modifier and Type Method Description static StringAuthParams. getCredentialCharset(HttpParams params)Obtains the charset for encodingCredentials.static voidAuthParams. setCredentialCharset(HttpParams params, String charset)Sets the charset to be used when encodingCredentials.Constructors in org.apache.http.auth.params with parameters of type HttpParams Constructor Description AuthParamBean(HttpParams params) -
Uses of HttpParams in org.apache.http.client
Methods in org.apache.http.client that return HttpParams Modifier and Type Method Description HttpParamsHttpClient. getParams()Obtains the parameters for this client. -
Uses of HttpParams in org.apache.http.client.params
Methods in org.apache.http.client.params with parameters of type HttpParams Modifier and Type Method Description static StringHttpClientParams. getCookiePolicy(HttpParams params)static booleanHttpClientParams. isAuthenticating(HttpParams params)static booleanHttpClientParams. isRedirecting(HttpParams params)static voidHttpClientParams. setAuthenticating(HttpParams params, boolean value)static voidHttpClientParams. setCookiePolicy(HttpParams params, String cookiePolicy)static voidHttpClientParams. setRedirecting(HttpParams params, boolean value)Constructors in org.apache.http.client.params with parameters of type HttpParams Constructor Description ClientParamBean(HttpParams params) -
Uses of HttpParams in org.apache.http.conn
Methods in org.apache.http.conn with parameters of type HttpParams Modifier and Type Method Description SocketMultihomePlainSocketFactory. connectSocket(Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params)Attempts to connects the socket to any of theInetAddresses the given host name resolves to.voidManagedClientConnection. layerProtocol(HttpContext context, HttpParams params)Layers a new protocol on top of atunnelledconnection.ClientConnectionManagerClientConnectionManagerFactory. newInstance(HttpParams params, SchemeRegistry schemeRegistry)voidManagedClientConnection. open(HttpRoute route, HttpContext context, HttpParams params)Opens this connection according to the given route.voidOperatedClientConnection. openCompleted(boolean secure, HttpParams params)Signals that the connection has been successfully open.voidClientConnectionOperator. openConnection(OperatedClientConnection conn, HttpHost target, InetAddress local, HttpContext context, HttpParams params)Opens a connection to the given target host.voidManagedClientConnection. tunnelProxy(HttpHost next, boolean secure, HttpParams params)Indicates that a tunnel to an intermediate proxy has been established.voidManagedClientConnection. tunnelTarget(boolean secure, HttpParams params)Indicates that a tunnel to the target has been established.voidOperatedClientConnection. update(Socket sock, HttpHost target, boolean secure, HttpParams params)Updates this connection.voidClientConnectionOperator. updateSecureConnection(OperatedClientConnection conn, HttpHost target, HttpContext context, HttpParams params)Updates a connection with a layered secure connection. -
Uses of HttpParams in org.apache.http.conn.params
Methods in org.apache.http.conn.params with parameters of type HttpParams Modifier and Type Method Description static HttpHostConnRouteParams. getDefaultProxy(HttpParams params)Obtains theDEFAULT_PROXYparameter value.static HttpRouteConnRouteParams. getForcedRoute(HttpParams params)Obtains theFORCED_ROUTEparameter value.static InetAddressConnRouteParams. getLocalAddress(HttpParams params)Obtains theLOCAL_ADDRESSparameter value.static ConnPerRouteConnManagerParams. getMaxConnectionsPerRoute(HttpParams params)Returns lookup interface for maximum number of connections allowed per route.static intConnManagerParams. getMaxTotalConnections(HttpParams params)Gets the maximum number of connections allowed.static longConnManagerParams. getTimeout(HttpParams params)Returns the timeout in milliseconds used when retrieving aManagedClientConnectionfrom theClientConnectionManager.static voidConnRouteParams. setDefaultProxy(HttpParams params, HttpHost proxy)Sets theDEFAULT_PROXYparameter value.static voidConnRouteParams. setForcedRoute(HttpParams params, HttpRoute route)Sets theFORCED_ROUTEparameter value.static voidConnRouteParams. setLocalAddress(HttpParams params, InetAddress local)Sets theLOCAL_ADDRESSparameter value.static voidConnManagerParams. setMaxConnectionsPerRoute(HttpParams params, ConnPerRoute connPerRoute)Sets lookup interface for maximum number of connections allowed per route.static voidConnManagerParams. setMaxTotalConnections(HttpParams params, int maxTotalConnections)Sets the maximum number of connections allowed.static voidConnManagerParams. setTimeout(HttpParams params, long timeout)Sets the timeout in milliseconds used when retrieving aManagedClientConnectionfrom theClientConnectionManager.Constructors in org.apache.http.conn.params with parameters of type HttpParams Constructor Description ConnConnectionParamBean(HttpParams params)ConnManagerParamBean(HttpParams params)ConnRouteParamBean(HttpParams params) -
Uses of HttpParams in org.apache.http.conn.scheme
Methods in org.apache.http.conn.scheme with parameters of type HttpParams Modifier and Type Method Description SocketPlainSocketFactory. connectSocket(Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params)SocketSocketFactory. connectSocket(Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params)Connects a socket to the given host. -
Uses of HttpParams in org.apache.http.conn.ssl
Methods in org.apache.http.conn.ssl with parameters of type HttpParams Modifier and Type Method Description SocketSSLSocketFactory. connectSocket(Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params) -
Uses of HttpParams in org.apache.http.cookie
Methods in org.apache.http.cookie with parameters of type HttpParams Modifier and Type Method Description CookieSpecCookieSpecRegistry. getCookieSpec(String name, HttpParams params)Gets thecookie specificationwith the given ID.CookieSpecCookieSpecFactory. newInstance(HttpParams params) -
Uses of HttpParams in org.apache.http.cookie.params
Constructors in org.apache.http.cookie.params with parameters of type HttpParams Constructor Description CookieSpecParamBean(HttpParams params) -
Uses of HttpParams in org.apache.http.impl
Methods in org.apache.http.impl with parameters of type HttpParams Modifier and Type Method Description voidDefaultHttpClientConnection. bind(Socket socket, HttpParams params)voidDefaultHttpServerConnection. bind(Socket socket, HttpParams params)protected voidSocketHttpClientConnection. bind(Socket socket, HttpParams params)protected voidSocketHttpServerConnection. bind(Socket socket, HttpParams params)protected SessionInputBufferSocketHttpServerConnection. createHttpDataReceiver(Socket socket, int buffersize, HttpParams params)protected SessionOutputBufferSocketHttpServerConnection. createHttpDataTransmitter(Socket socket, int buffersize, HttpParams params)protected HttpMessageParserAbstractHttpServerConnection. createRequestParser(SessionInputBuffer buffer, HttpRequestFactory requestFactory, HttpParams params)protected HttpMessageWriterAbstractHttpClientConnection. createRequestWriter(SessionOutputBuffer buffer, HttpParams params)protected HttpMessageParserAbstractHttpClientConnection. createResponseParser(SessionInputBuffer buffer, HttpResponseFactory responseFactory, HttpParams params)protected HttpMessageWriterAbstractHttpServerConnection. createResponseWriter(SessionOutputBuffer buffer, HttpParams params)protected SessionInputBufferSocketHttpClientConnection. createSessionInputBuffer(Socket socket, int buffersize, HttpParams params)protected SessionOutputBufferSocketHttpClientConnection. createSessionOutputBuffer(Socket socket, int buffersize, HttpParams params)protected voidAbstractHttpClientConnection. init(SessionInputBuffer inbuffer, SessionOutputBuffer outbuffer, HttpParams params)protected voidAbstractHttpServerConnection. init(SessionInputBuffer inbuffer, SessionOutputBuffer outbuffer, HttpParams params) -
Uses of HttpParams in org.apache.http.impl.auth
Methods in org.apache.http.impl.auth with parameters of type HttpParams Modifier and Type Method Description AuthSchemeBasicSchemeFactory. newInstance(HttpParams params)AuthSchemeDigestSchemeFactory. newInstance(HttpParams params) -
Uses of HttpParams in org.apache.http.impl.client
Classes in org.apache.http.impl.client that implement HttpParams Modifier and Type Class Description classClientParamsStackRepresents a stack of parameter collections.Fields in org.apache.http.impl.client declared as HttpParams Modifier and Type Field Description protected HttpParamsClientParamsStack. applicationParamsThe application parameter collection, ornull.protected HttpParamsClientParamsStack. clientParamsThe client parameter collection, ornull.protected HttpParamsClientParamsStack. overrideParamsThe override parameter collection, ornull.protected HttpParamsDefaultRequestDirector. paramsThe HTTP parameters.protected HttpParamsClientParamsStack. requestParamsThe request parameter collection, ornull.Methods in org.apache.http.impl.client that return HttpParams Modifier and Type Method Description HttpParamsClientParamsStack. copy()Does not copy parameters.protected abstract HttpParamsAbstractHttpClient. createHttpParams()protected HttpParamsDefaultHttpClient. createHttpParams()protected HttpParamsAbstractHttpClient. determineParams(HttpRequest req)Obtains parameters for executing a request.HttpParamsClientParamsStack. getApplicationParams()Obtains the application parameters of this stack.HttpParamsClientParamsStack. getClientParams()Obtains the client parameters of this stack.HttpParamsClientParamsStack. getOverrideParams()Obtains the override parameters of this stack.HttpParamsAbstractHttpClient. getParams()HttpParamsClientParamsStack. getRequestParams()Obtains the request parameters of this stack.HttpParamsClientParamsStack. setParameter(String name, Object value)Does not set a parameter.Methods in org.apache.http.impl.client with parameters of type HttpParams Modifier and Type Method Description protected RequestDirectorAbstractHttpClient. createClientRequestDirector(HttpRequestExecutor requestExec, ClientConnectionManager conman, ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectHandler redirectHandler, AuthenticationHandler targetAuthHandler, AuthenticationHandler proxyAuthHandler, UserTokenHandler stateHandler, HttpParams params)voidAbstractHttpClient. setParams(HttpParams params)Replaces the parameters.Constructors in org.apache.http.impl.client with parameters of type HttpParams Constructor Description AbstractHttpClient(ClientConnectionManager conman, HttpParams params)Creates a new HTTP client.ClientParamsStack(ClientParamsStack stack, HttpParams aparams, HttpParams cparams, HttpParams rparams, HttpParams oparams)Creates a modified copy of a parameter stack.ClientParamsStack(HttpParams aparams, HttpParams cparams, HttpParams rparams, HttpParams oparams)Creates a new parameter stack from elements.DefaultHttpClient(ClientConnectionManager conman, HttpParams params)Creates a new HTTP client from parameters and a connection manager.DefaultHttpClient(HttpParams params)DefaultRequestDirector(HttpRequestExecutor requestExec, ClientConnectionManager conman, ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectHandler redirectHandler, AuthenticationHandler targetAuthHandler, AuthenticationHandler proxyAuthHandler, UserTokenHandler userTokenHandler, HttpParams params) -
Uses of HttpParams in org.apache.http.impl.conn
Methods in org.apache.http.impl.conn with parameters of type HttpParams Modifier and Type Method Description protected HttpMessageParserDefaultClientConnection. createResponseParser(SessionInputBuffer buffer, HttpResponseFactory responseFactory, HttpParams params)protected SessionInputBufferDefaultClientConnection. createSessionInputBuffer(Socket socket, int buffersize, HttpParams params)protected SessionOutputBufferDefaultClientConnection. createSessionOutputBuffer(Socket socket, int buffersize, HttpParams params)voidAbstractPooledConnAdapter. layerProtocol(HttpContext context, HttpParams params)voidAbstractPoolEntry. layerProtocol(HttpContext context, HttpParams params)Layers a protocol on top of an established tunnel.voidAbstractPooledConnAdapter. open(HttpRoute route, HttpContext context, HttpParams params)voidAbstractPoolEntry. open(HttpRoute route, HttpContext context, HttpParams params)Opens the underlying connection.voidDefaultClientConnection. openCompleted(boolean secure, HttpParams params)voidDefaultClientConnectionOperator. openConnection(OperatedClientConnection conn, HttpHost target, InetAddress local, HttpContext context, HttpParams params)protected voidDefaultClientConnectionOperator. prepareSocket(Socket sock, HttpContext context, HttpParams params)Performs standard initializations on a newly created socket.voidAbstractPooledConnAdapter. tunnelProxy(HttpHost next, boolean secure, HttpParams params)voidAbstractPoolEntry. tunnelProxy(HttpHost next, boolean secure, HttpParams params)Tracks tunnelling of the connection to a chained proxy.voidAbstractPooledConnAdapter. tunnelTarget(boolean secure, HttpParams params)voidAbstractPoolEntry. tunnelTarget(boolean secure, HttpParams params)Tracks tunnelling of the connection to the target.voidDefaultClientConnection. update(Socket sock, HttpHost target, boolean secure, HttpParams params)voidDefaultClientConnectionOperator. updateSecureConnection(OperatedClientConnection conn, HttpHost target, HttpContext context, HttpParams params)Constructors in org.apache.http.impl.conn with parameters of type HttpParams Constructor Description DefaultResponseParser(SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, HttpParams params)SingleClientConnManager(HttpParams params, SchemeRegistry schreg)Creates a new simple connection manager. -
Uses of HttpParams in org.apache.http.impl.conn.tsccm
Methods in org.apache.http.impl.conn.tsccm with parameters of type HttpParams Modifier and Type Method Description protected AbstractConnPoolThreadSafeClientConnManager. createConnectionPool(HttpParams params)Hook for creating the connection pool.Constructors in org.apache.http.impl.conn.tsccm with parameters of type HttpParams Constructor Description ConnPoolByRoute(ClientConnectionOperator operator, HttpParams params)Creates a new connection pool, managed by route.ThreadSafeClientConnManager(HttpParams params, SchemeRegistry schreg)Creates a new thread safe connection manager. -
Uses of HttpParams in org.apache.http.impl.cookie
Methods in org.apache.http.impl.cookie with parameters of type HttpParams Modifier and Type Method Description CookieSpecBestMatchSpecFactory. newInstance(HttpParams params)CookieSpecBrowserCompatSpecFactory. newInstance(HttpParams params)CookieSpecNetscapeDraftSpecFactory. newInstance(HttpParams params)CookieSpecRFC2109SpecFactory. newInstance(HttpParams params)CookieSpecRFC2965SpecFactory. newInstance(HttpParams params) -
Uses of HttpParams in org.apache.http.impl.io
Methods in org.apache.http.impl.io with parameters of type HttpParams Modifier and Type Method Description protected voidAbstractSessionInputBuffer. init(InputStream instream, int buffersize, HttpParams params)protected voidAbstractSessionOutputBuffer. init(OutputStream outstream, int buffersize, HttpParams params)Constructors in org.apache.http.impl.io with parameters of type HttpParams Constructor Description AbstractMessageParser(SessionInputBuffer buffer, LineParser parser, HttpParams params)AbstractMessageWriter(SessionOutputBuffer buffer, LineFormatter formatter, HttpParams params)HttpRequestParser(SessionInputBuffer buffer, LineParser parser, HttpRequestFactory requestFactory, HttpParams params)HttpRequestWriter(SessionOutputBuffer buffer, LineFormatter formatter, HttpParams params)HttpResponseParser(SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, HttpParams params)HttpResponseWriter(SessionOutputBuffer buffer, LineFormatter formatter, HttpParams params)SocketInputBuffer(Socket socket, int buffersize, HttpParams params)SocketOutputBuffer(Socket socket, int buffersize, HttpParams params) -
Uses of HttpParams in org.apache.http.message
Fields in org.apache.http.message declared as HttpParams Modifier and Type Field Description protected HttpParamsAbstractHttpMessage. paramsMethods in org.apache.http.message that return HttpParams Modifier and Type Method Description HttpParamsAbstractHttpMessage. getParams()Methods in org.apache.http.message with parameters of type HttpParams Modifier and Type Method Description voidAbstractHttpMessage. setParams(HttpParams params)Constructors in org.apache.http.message with parameters of type HttpParams Constructor Description AbstractHttpMessage(HttpParams params) -
Uses of HttpParams in org.apache.http.params
Classes in org.apache.http.params that implement HttpParams Modifier and Type Class Description classAbstractHttpParamsAbstract base class for parameter collections.classBasicHttpParamsThis class represents a collection of HTTP protocol parameters.classDefaultedHttpParamsHttpParamsimplementation that delegates resolution of a parameter to the given defaultHttpParamsinstance if the parameter is not present in the local one.Fields in org.apache.http.params declared as HttpParams Modifier and Type Field Description protected HttpParamsHttpAbstractParamBean. paramsMethods in org.apache.http.params that return HttpParams Modifier and Type Method Description HttpParamsBasicHttpParams. copy()Creates a copy of these parameters.HttpParamsDefaultedHttpParams. copy()Creates a copy of the local collection with the same defaultHttpParamsHttpParams. copy()Creates a copy of these parameters.HttpParamsDefaultedHttpParams. getDefaults()HttpParamsAbstractHttpParams. setBooleanParameter(String name, boolean value)HttpParamsHttpParams. setBooleanParameter(String name, boolean value)Assigns aBooleanto the parameter with the given nameHttpParamsAbstractHttpParams. setDoubleParameter(String name, double value)HttpParamsHttpParams. setDoubleParameter(String name, double value)Assigns aDoubleto the parameter with the given nameHttpParamsAbstractHttpParams. setIntParameter(String name, int value)HttpParamsHttpParams. setIntParameter(String name, int value)Assigns anIntegerto the parameter with the given nameHttpParamsAbstractHttpParams. setLongParameter(String name, long value)HttpParamsHttpParams. setLongParameter(String name, long value)Assigns aLongto the parameter with the given nameHttpParamsBasicHttpParams. setParameter(String name, Object value)HttpParamsDefaultedHttpParams. setParameter(String name, Object value)Sets the parameter in the local collection.HttpParamsHttpParams. setParameter(String name, Object value)Assigns the value to the parameter with the given name.Methods in org.apache.http.params with parameters of type HttpParams Modifier and Type Method Description protected voidBasicHttpParams. copyParams(HttpParams target)Copies the locally defined parameters to the argument parameters.static intHttpConnectionParams. getConnectionTimeout(HttpParams params)Returns the timeout until a connection is etablished.static StringHttpProtocolParams. getContentCharset(HttpParams params)Returns the default charset to be used for writing content body, when no charset explicitly specified.static StringHttpProtocolParams. getHttpElementCharset(HttpParams params)Returns the charset to be used for writing HTTP headers.static intHttpConnectionParams. getLinger(HttpParams params)Returns linger-on-close timeout.static intHttpConnectionParams. getSocketBufferSize(HttpParams params)static intHttpConnectionParams. getSoTimeout(HttpParams params)Returns the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.static booleanHttpConnectionParams. getTcpNoDelay(HttpParams params)Tests if Nagle's algorithm is to be used.static StringHttpProtocolParams. getUserAgent(HttpParams params)static ProtocolVersionHttpProtocolParams. getVersion(HttpParams params)Returnsprotocol versionto be used per default.static booleanHttpConnectionParams. isStaleCheckingEnabled(HttpParams params)Tests whether stale connection check is to be used.static voidHttpConnectionParams. setConnectionTimeout(HttpParams params, int timeout)Sets the timeout until a connection is etablished.static voidHttpProtocolParams. setContentCharset(HttpParams params, String charset)Sets the default charset to be used for writing content body, when no charset explicitly specified.static voidHttpProtocolParams. setHttpElementCharset(HttpParams params, String charset)Sets the charset to be used for writing HTTP headers.static voidHttpConnectionParams. setLinger(HttpParams params, int value)Returns linger-on-close timeout.static voidHttpConnectionParams. setSocketBufferSize(HttpParams params, int size)static voidHttpConnectionParams. setSoTimeout(HttpParams params, int timeout)Sets the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.static voidHttpConnectionParams. setStaleCheckingEnabled(HttpParams params, boolean value)Defines whether stale connection check is to be used.static voidHttpConnectionParams. setTcpNoDelay(HttpParams params, boolean value)Determines whether Nagle's algorithm is to be used.static voidHttpProtocolParams. setUseExpectContinue(HttpParams params, boolean b)static voidHttpProtocolParams. setUserAgent(HttpParams params, String useragent)static voidHttpProtocolParams. setVersion(HttpParams params, ProtocolVersion version)Assigns theprotocol versionto be used by the HTTP methods that this collection of parameters applies to.static booleanHttpProtocolParams. useExpectContinue(HttpParams params)Constructors in org.apache.http.params with parameters of type HttpParams Constructor Description DefaultedHttpParams(HttpParams local, HttpParams defaults)HttpAbstractParamBean(HttpParams params)HttpConnectionParamBean(HttpParams params)HttpProtocolParamBean(HttpParams params) -
Uses of HttpParams in org.apache.http.protocol
Methods in org.apache.http.protocol that return HttpParams Modifier and Type Method Description HttpParamsHttpService. getParams()Methods in org.apache.http.protocol with parameters of type HttpParams Modifier and Type Method Description voidHttpService. setParams(HttpParams params)