|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.chain.AbstractSetContentType
Check to see if the content type is set, and if so, set it for this response.
Field Summary | |
private java.lang.String |
moduleConfigKey
|
Constructor Summary | |
AbstractSetContentType()
|
Method Summary | |
boolean |
execute(org.apache.commons.chain.Context context)
Check to see if the content type is set, and if so, set it for this response. |
java.lang.String |
getModuleConfigKey()
Return the context attribute key under which the ModuleConfig for the currently selected application
module is stored. |
protected abstract void |
setContentType(org.apache.commons.chain.Context context,
java.lang.String contentType)
Request no cache flags are set. |
void |
setModuleConfigKey(java.lang.String moduleConfigKey)
Set the context attribute key under which the ModuleConfig for the currently selected application
module is stored. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String moduleConfigKey
Constructor Detail |
public AbstractSetContentType()
Method Detail |
public java.lang.String getModuleConfigKey()
Return the context attribute key under which the
ModuleConfig
for the currently selected application
module is stored.
public void setModuleConfigKey(java.lang.String moduleConfigKey)
Set the context attribute key under which the
ModuleConfig
for the currently selected application
module is stored.
moduleConfigKey
- The new context attribute keypublic boolean execute(org.apache.commons.chain.Context context) throws java.lang.Exception
Check to see if the content type is set, and if so, set it for this response.
execute
in interface org.apache.commons.chain.Command
context
- The Context
for the current request
false
so that processing continues
java.lang.Exception
protected abstract void setContentType(org.apache.commons.chain.Context context, java.lang.String contentType)
Request no cache flags are set.
context
- The Context
for this requestcontentType
- The content type for the response
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |