|
rewrite-impl-servlet 1.0.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ocpsoft.rewrite.servlet.config.EncodeQuery
public class EncodeQuery
Encodes any or many query-parameters into a single parameter using the given ChecksumStrategy and
EncodingStrategy.
| Method Summary | |
|---|---|
EncodeQuery |
excluding(String... params)
Exclude the given query-parameter names from encoding. |
DefaultOperationBuilder |
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. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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 DefaultOperationBuilder 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)
perform in interface Operation
|
rewrite-impl-servlet 1.0.5.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||