HTTPCORE-136: Added #removeParameter
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609315 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
25e8fa8d01
commit
931953f769
|
@ -270,6 +270,24 @@ public class ClientParamsStack extends AbstractHttpParams {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Does <i>not</i> remove a parameter.
|
||||||
|
* Parameter stacks are read-only. It is possible, though discouraged,
|
||||||
|
* to access and modify specific stack entries.
|
||||||
|
* Derived classes may change this behavior.
|
||||||
|
*
|
||||||
|
* @param name ignored
|
||||||
|
*
|
||||||
|
* @return nothing
|
||||||
|
*
|
||||||
|
* @throws UnsupportedOperationException always
|
||||||
|
*/
|
||||||
|
public boolean removeParameter(String name) {
|
||||||
|
throw new UnsupportedOperationException
|
||||||
|
("Removing parameters in a stack is not supported.");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Does <i>not</i> copy parameters.
|
* Does <i>not</i> copy parameters.
|
||||||
* Parameter stacks are lightweight objects, expected to be instantiated
|
* Parameter stacks are lightweight objects, expected to be instantiated
|
||||||
|
|
Loading…
Reference in New Issue