Methods Summary |
---|
public org.apache.http.params.HttpParams | copy()Creates a copy of the local collection with the same default
HttpParams clone = this.local.copy();
return new DefaultedHttpParams(clone, this.defaults);
|
public org.apache.http.params.HttpParams | getDefaults()
return this.defaults;
|
public java.lang.Object | getParameter(java.lang.String name)Retrieves the value of the parameter from the local collection and, if the
parameter is not set locally, delegates its resolution to the default
collection.
Object obj = this.local.getParameter(name);
if (obj == null && this.defaults != null) {
obj = this.defaults.getParameter(name);
}
return obj;
|
public boolean | removeParameter(java.lang.String name)Attempts to remove the parameter from the local collection. This method
does not modify the default collection.
return this.local.removeParameter(name);
|
public org.apache.http.params.HttpParams | setParameter(java.lang.String name, java.lang.Object value)Sets the parameter in the local collection. This method does not
modify the default collection.
return this.local.setParameter(name, value);
|