|
rewrite-impl-servlet 1.0.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ocpsoft.rewrite.bind.BindingBuilder
org.ocpsoft.rewrite.servlet.config.bind.Request
public abstract class Request
Responsible for binding to ServletRequest.setAttribute(String, Object) and
ServletRequest.getParameterMap() contexts.
| Constructor Summary | |
|---|---|
Request()
|
|
| Method Summary | |
|---|---|
static BindingBuilder |
attribute(java.lang.String property)
Bind a value to the ServletRequest.setAttribute(String, Object) map. |
static BindingBuilder |
attribute(java.lang.String property,
java.lang.Class<? extends Converter<?>> type)
Bind a value to the ServletRequest.setAttribute(String, Object) map. |
static BindingBuilder |
attribute(java.lang.String property,
java.lang.Class<Converter<?>> converterType,
java.lang.Class<? extends Validator<?>> validatorType)
Bind a value to the ServletRequest.setAttribute(String, Object) map. |
static BindingBuilder |
parameter(java.lang.String property)
Bind a value to the ServletRequest.getParameterMap(). |
static BindingBuilder |
parameter(java.lang.String property,
java.lang.Class<? extends Converter<?>> type)
Bind a value to the ServletRequest.getParameterMap() map. |
static BindingBuilder |
parameter(java.lang.String property,
java.lang.Class<Converter<?>> converterType,
java.lang.Class<? extends Validator<?>> validatorType)
Bind a value to the ServletRequest.getParameterMap() map. |
boolean |
supportsRetrieval()
|
boolean |
supportsSubmission()
|
| Methods inherited from class org.ocpsoft.rewrite.bind.BindingBuilder |
|---|
convert, convertedBy, convertedBy, validatedBy, validatedBy, validates |
| 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 |
|---|
public Request()
| Method Detail |
|---|
public static BindingBuilder attribute(java.lang.String property)
ServletRequest.setAttribute(String, Object) map.
public static BindingBuilder attribute(java.lang.String property,
java.lang.Class<? extends Converter<?>> type)
ServletRequest.setAttribute(String, Object) map. Use the given Converter when
retrieving any values.
public static BindingBuilder attribute(java.lang.String property,
java.lang.Class<Converter<?>> converterType,
java.lang.Class<? extends Validator<?>> validatorType)
ServletRequest.setAttribute(String, Object) map. Use the given Validator
before attempting to submit any values. Use the given Converter when retrieving any values.
public static BindingBuilder parameter(java.lang.String property)
ServletRequest.getParameterMap().
public static BindingBuilder parameter(java.lang.String property,
java.lang.Class<? extends Converter<?>> type)
ServletRequest.getParameterMap() map. Use the given Converter when retrieving
any values.
public static BindingBuilder parameter(java.lang.String property,
java.lang.Class<Converter<?>> converterType,
java.lang.Class<? extends Validator<?>> validatorType)
ServletRequest.getParameterMap() map. Use the given Validator before
attempting to submit any values. Use the given Converter when retrieving any values.
public boolean supportsRetrieval()
public boolean supportsSubmission()
|
rewrite-impl-servlet 1.0.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||