|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.madvoc.injector.RequestScopeInjector.Config
public static class RequestScopeInjector.Config
Request scope configuration.
| Field Summary | |
|---|---|
protected boolean |
copyParamsToAttributes
|
protected boolean |
encodeGetParams
|
protected boolean |
ignoreEmptyRequestParams
|
protected boolean |
injectAttributes
|
protected boolean |
injectParameters
|
protected boolean |
treatEmptyParamsAsNull
|
protected boolean |
trimParams
|
| Constructor Summary | |
|---|---|
RequestScopeInjector.Config()
|
|
| Method Summary | |
|---|---|
RequestScopeInjector.Config |
clone()
|
boolean |
isCopyParamsToAttributes()
|
boolean |
isEncodeGetParams()
|
boolean |
isIgnoreEmptyRequestParams()
|
boolean |
isInjectAttributes()
|
boolean |
isInjectParameters()
|
boolean |
isTreatEmptyParamsAsNull()
|
boolean |
isTrimParams()
|
void |
setCopyParamsToAttributes(boolean copyParamsToAttributes)
Specifies if request parameters will to be copied to attributes. |
void |
setEncodeGetParams(boolean encodeGetParams)
Specifies if GET parameters should be encoded. |
void |
setIgnoreEmptyRequestParams(boolean ignoreEmptyRequestParams)
Specifies if empty request parameters will be totally ignored as they were not sent at all. |
void |
setInjectAttributes(boolean injectAttributes)
Specifies if attributes will be injected. |
void |
setInjectParameters(boolean injectParameters)
Specifies if parameters will be injected. |
void |
setTreatEmptyParamsAsNull(boolean treatEmptyParamsAsNull)
Specifies if empty parameters will be injected as null value. |
void |
setTrimParams(boolean trimParams)
Specifies if parameters will be trimmed before injection. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean ignoreEmptyRequestParams
protected boolean treatEmptyParamsAsNull
protected boolean injectAttributes
protected boolean injectParameters
protected boolean copyParamsToAttributes
protected boolean trimParams
protected boolean encodeGetParams
| Constructor Detail |
|---|
public RequestScopeInjector.Config()
| Method Detail |
|---|
public boolean isIgnoreEmptyRequestParams()
public void setIgnoreEmptyRequestParams(boolean ignoreEmptyRequestParams)
public boolean isTreatEmptyParamsAsNull()
public void setTreatEmptyParamsAsNull(boolean treatEmptyParamsAsNull)
null value.
public boolean isInjectAttributes()
public void setInjectAttributes(boolean injectAttributes)
public boolean isInjectParameters()
public void setInjectParameters(boolean injectParameters)
public boolean isCopyParamsToAttributes()
public void setCopyParamsToAttributes(boolean copyParamsToAttributes)
true, injectOnlyAttributes
is also set to true.
public boolean isTrimParams()
public void setTrimParams(boolean trimParams)
public boolean isEncodeGetParams()
public void setEncodeGetParams(boolean encodeGetParams)
public RequestScopeInjector.Config clone()
clone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||