| java.lang.Object org.apache.http.params.HttpProtocolParams
HttpProtocolParams | final public class HttpProtocolParams implements CoreProtocolPNames(Code) | | This class implements an adaptor around the
HttpParams interface
to simplify manipulation of the HTTP protocol specific parameters.
Note that the implements relation to
CoreProtocolPNames is for compatibility with existing application code only. References to
the parameter names should use the interface, not this class.
author: Oleg Kalnichevski version: $Revision: 576089 $ since: 4.0 See Also: CoreProtocolPNames |
getContentCharset | public static String getContentCharset(HttpParams params)(Code) | | Returns the default charset to be used for writing content body,
when no charset explicitly specified.
The charset |
getHttpElementCharset | public static String getHttpElementCharset(HttpParams params)(Code) | | Returns the charset to be used for writing HTTP headers.
The charset |
setContentCharset | public static void setContentCharset(HttpParams params, String charset)(Code) | | Sets the default charset to be used for writing content body,
when no charset explicitly specified.
Parameters: charset - The charset |
setHttpElementCharset | public static void setHttpElementCharset(HttpParams params, String charset)(Code) | | Sets the charset to be used for writing HTTP headers.
Parameters: charset - The charset |
setUseExpectContinue | public static void setUseExpectContinue(HttpParams params, boolean b)(Code) | | |
useExpectContinue | public static boolean useExpectContinue(HttpParams params)(Code) | | |
|
|