rewrite-config-servlet 2.0.0.Alpha6

org.ocpsoft.rewrite.servlet.config.bind
Class Request

java.lang.Object
  extended by org.ocpsoft.rewrite.servlet.config.bind.Request
All Implemented Interfaces:
Binding, Retrieval, Submission

public abstract class Request
extends Object
implements Binding

Responsible for binding to ServletRequest.setAttribute(String, Object) and ServletRequest.getParameterMap() contexts.

Author:
Lincoln Baxter, III

Constructor Summary
Request()
           
 
Method Summary
static Request attribute(String property)
          Bind a value to the ServletRequest.setAttribute(String, Object) map.
static Request parameter(String property)
          Bind a value to the ServletRequest.getParameterMap().
 boolean supportsRetrieval()
           
 boolean supportsSubmission()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ocpsoft.rewrite.bind.Retrieval
retrieve
 
Methods inherited from interface org.ocpsoft.rewrite.bind.Submission
submit
 

Constructor Detail

Request

public Request()
Method Detail

attribute

public static Request attribute(String property)
Bind a value to the ServletRequest.setAttribute(String, Object) map.


parameter

public static Request parameter(String property)
Bind a value to the ServletRequest.getParameterMap().


supportsRetrieval

public boolean supportsRetrieval()
Specified by:
supportsRetrieval in interface Binding

supportsSubmission

public boolean supportsSubmission()
Specified by:
supportsSubmission in interface Binding

rewrite-config-servlet 2.0.0.Alpha6

Copyright © 2013 OCPsoft. All Rights Reserved.