Deprecated
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | getBooleanParameter(final String
the parent name. name, final boolean the default value. defaultValue)Implements org. Boolean parameter value with the given name.
|
| public double | getDoubleParameter(final String
the parent name. name, final double the default value. defaultValue)Implements org. Double parameter value with the given name.
|
| public int | getIntParameter(final String
the parent name. name, final int the default value. defaultValue)Implements org. Integer parameter value with the given name.
|
| public long | getLongParameter(final String
the parent name. name, final long the default value. defaultValue)Implements org. Long parameter value with the given name.
|
| public Set | getNames()
Implements org. |
| public boolean | isParameterFalse(final String
parameter name name)Implements org. false.
|
| public boolean | isParameterTrue(final String
parameter name name)Implements org. true.
|
| public HttpParams | setBooleanParameter(final String
parameter name name, final boolean parameter value value)Implements org.
Deprecated
as a consequence of
Assigns a HttpParams being deprecated.
Boolean to the parameter with the given name
|
| public HttpParams | setDoubleParameter(final String
parameter name name, final double parameter value value)Implements org.
Deprecated
as a consequence of
Assigns a HttpParams being deprecated.
Double to the parameter with the given name
|
| public HttpParams | setIntParameter(final String
parameter name name, final int parameter value value)Implements org.
Deprecated
as a consequence of
Assigns an HttpParams being deprecated.
Integer to the parameter with the given name
|
| public HttpParams | setLongParameter(final String
parameter name name, final long parameter value value)Implements org.
Deprecated
as a consequence of
Assigns a HttpParams being deprecated.
Long to the parameter with the given name
|
| AbstractHttpParams | back to summary |
|---|---|
| protected AbstractHttpParams() Instantiates parameters. | |
| getBooleanParameter | back to summary |
|---|---|
| public boolean getBooleanParameter(final String name, final boolean defaultValue) Implements org. Doc from org. Returns a | |
| getDoubleParameter | back to summary |
|---|---|
| public double getDoubleParameter(final String name, final double defaultValue) Implements org. Doc from org. Returns a | |
| getIntParameter | back to summary |
|---|---|
| public int getIntParameter(final String name, final int defaultValue) Implements org. Doc from org. Returns an | |
| getLongParameter | back to summary |
|---|---|
| public long getLongParameter(final String name, final long defaultValue) Implements org. Doc from org. Returns a | |
| getNames | back to summary |
|---|---|
| public Set Implements org. Doc from org. Returns the current set of names; in the case of stacked parameters, returns the names from all the participating HttpParams instances. Changes to the underlying HttpParams are not reflected in the set - it is a snapshot. Dummy implementation - must be overridden by subclasses.
| |
| isParameterFalse | back to summary |
|---|---|
| public boolean isParameterFalse(final String name) Implements org. Doc from org. Checks if a boolean parameter is not set or | |
| isParameterTrue | back to summary |
|---|---|
| public boolean isParameterTrue(final String name) Implements org. Doc from org. Checks if a boolean parameter is set to | |
| setBooleanParameter | back to summary |
|---|---|
| public HttpParams setBooleanParameter(final String name, final boolean value) Implements org. Doc from org. Deprecated as a consequence of Assigns a | |
| setDoubleParameter | back to summary |
|---|---|
| public HttpParams setDoubleParameter(final String name, final double value) Implements org. Doc from org. Deprecated as a consequence of Assigns a | |
| setIntParameter | back to summary |
|---|---|
| public HttpParams setIntParameter(final String name, final int value) Implements org. Doc from org. Deprecated as a consequence of Assigns an | |
| setLongParameter | back to summary |
|---|---|
| public HttpParams setLongParameter(final String name, final long value) Implements org. Doc from org. Deprecated as a consequence of Assigns a | |