public class VariantURLQuery extends VariantAbstractQuery
Constructor and Description |
---|
VariantURLQuery() |
Modifier and Type | Method and Description |
---|---|
protected void |
buildMessage(HttpMessage msg,
String query)
Build the message content setting the query string according to the Variant specific
implementation
|
protected String |
getEscapedValue(HttpMessage msg,
String value)
Encode the parameter for a correct URL introduction
|
protected String |
getUnescapedValue(String value)
Return unescaped mutate of the value.
|
void |
setMessage(HttpMessage msg) |
getEscapedName, getParamList, setAddQueryParam, setEscapedParameter, setParameter, setParameters, setParams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLeafName, getTreePath
protected String getEscapedValue(HttpMessage msg, String value)
getEscapedValue
in class VariantAbstractQuery
msg
- the message objectvalue
- the value that need to be encodedprotected String getUnescapedValue(String value)
VariantAbstractQuery
getUnescapedValue
in class VariantAbstractQuery
public void setMessage(HttpMessage msg)
protected void buildMessage(HttpMessage msg, String query)
VariantAbstractQuery
buildMessage
in class VariantAbstractQuery
msg
- the message object we need to modifyquery
- the query string we need to set inside the message