public class EncodeQuery extends Object implements Operation
ChecksumStrategy and
EncodingStrategy.| Modifier and Type | Method and Description |
|---|---|
EncodeQuery |
excluding(String... params)
Exclude the given query-parameter names from encoding.
|
EncodeQuery |
onChecksumFailure(Operation operation)
Operation to be performed when the current ChecksumStrategy detects an inbound checksum failure. |
static EncodeQuery |
params(String... params)
Create a new
EncodeQuery Operation for the given query-parameter names. |
void |
perform(Rewrite event,
EvaluationContext context) |
EncodeQuery |
to(String param)
The name of the composite query-parameter to hold the encoded parameters.
|
String |
toString() |
EncodeQuery |
withChecksumStrategy(ChecksumStrategy strategy)
Use the given
ChecksumStrategy when calculating and embedding checksums. |
EncodeQuery |
withEncodingStrategy(EncodingStrategy strategy)
Use the given
EncodingStrategy when performing encoding. |
EncodeQuery |
withInboundCorrection(boolean enable)
Redirect inbound requests to URLs containing matching query-parameters to the encoded URL.
|
public static EncodeQuery params(String... params)
EncodeQuery Operation for the given query-parameter names. Only encode those given
parameters. If no parameter names are supplied, this will encode all query-parameters found in the URL.public EncodeQuery excluding(String... params)
public EncodeQuery withEncodingStrategy(EncodingStrategy strategy)
EncodingStrategy when performing encoding.public EncodeQuery withChecksumStrategy(ChecksumStrategy strategy)
ChecksumStrategy when calculating and embedding checksums.public EncodeQuery withInboundCorrection(boolean enable)
public EncodeQuery onChecksumFailure(Operation operation)
Operation to be performed when the current ChecksumStrategy detects an inbound checksum failure.public EncodeQuery to(String param)
public void perform(Rewrite event, EvaluationContext context)
Copyright © 2013 OCPsoft. All Rights Reserved.