rewrite-transform 2.0.0.Beta3

org.ocpsoft.rewrite.transform
Class Transform

java.lang.Object
  extended by org.ocpsoft.rewrite.config.DefaultOperationBuilder
      extended by org.ocpsoft.rewrite.servlet.config.HttpOperation
          extended by org.ocpsoft.rewrite.transform.Transform
All Implemented Interfaces:
Operation, OperationBuilder

public class Transform
extends HttpOperation

An Operation that applies one or more Transformer implementations to the HttpServletResponse.

Author:
Christian Kaltepoth

Method Summary
 void performHttp(HttpServletRewrite event, EvaluationContext context)
           
 Transform then(Transformer transformer)
          Add another Transformer implementation to the transformer pipeline.
static Transform with(Transformer transformer)
          Create a Transposition instance that applies the given Transformer.
 
Methods inherited from class org.ocpsoft.rewrite.servlet.config.HttpOperation
perform
 
Methods inherited from class org.ocpsoft.rewrite.config.DefaultOperationBuilder
and
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

with

public static Transform with(Transformer transformer)
Create a Transposition instance that applies the given Transformer.


then

public Transform then(Transformer transformer)
Add another Transformer implementation to the transformer pipeline. The supplied transformer will be executed AFTER all other previously added transformer instances.


performHttp

public void performHttp(HttpServletRewrite event,
                        EvaluationContext context)
Specified by:
performHttp in class HttpOperation

rewrite-transform 2.0.0.Beta3

Copyright © 2013 OCPsoft. All Rights Reserved.