org.apache.http.params.HttpProtocolParams
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.
Summary
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Methods
public
static
String
getContentCharset(HttpParams params)
Returns the default charset to be used for writing content body,
when no charset explicitly specified.
public
static
String
getHttpElementCharset(HttpParams params)
Returns the charset to be used for writing HTTP headers.
public
static
void
setContentCharset(HttpParams params, String charset)
Sets the default charset to be used for writing content body,
when no charset explicitly specified.
public
static
void
setHttpElementCharset(HttpParams params, String charset)
Sets the charset to be used for writing HTTP headers.
public
static
void
setUseExpectContinue(HttpParams params, boolean b)
Assigns the
protocol version to be used by the
HTTP methods that this collection of parameters applies to.
public
static
boolean
useExpectContinue(HttpParams params)