org.ocpsoft.rewrite.servlet.config
Class Request
java.lang.Object
org.ocpsoft.rewrite.config.DefaultOperationBuilder
org.ocpsoft.rewrite.servlet.config.HttpOperation
org.ocpsoft.rewrite.servlet.config.Request
- All Implemented Interfaces:
- Operation, OperationBuilder
public abstract class Request
- extends HttpOperation
Responsible for performing actions on the current HttpServletRequest
- Author:
- Christian Kaltepoth
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Request
public Request()
setCharacterEncoding
public Request setCharacterEncoding(String encoding)
- Creates an
HttpOperation that calls ServletRequest.setCharacterEncoding(String) on the current
request.
- Parameters:
encoding - The encoding to apply
setCharacterEncoding
public Request setCharacterEncoding(Charset charset)
- Creates an
HttpOperation that calls ServletRequest.setCharacterEncoding(String) on the current
request.
- Parameters:
encoding - The character set to apply
setAttribute
public Request setAttribute(String name,
Object value)
- Creates an
HttpOperation that calls ServletRequest.setAttribute(String, Object) on the current
request.
- Parameters:
name - The name of the request attributevalue - The value to set
Copyright © 2013 OCPsoft. All Rights Reserved.