|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.config.BaseConfig org.apache.struts.config.ControllerConfig
public class ControllerConfig
A JavaBean representing the configuration information of a
<controller>
element in a Struts configuration
file.
Field Summary | |
---|---|
protected int |
bufferSize
The input buffer size for file uploads. |
protected java.lang.String |
catalog
The chain catalog name for this module. |
protected java.lang.String |
command
The chain command to execute for each request. |
protected java.lang.String |
contentType
The content type and character encoding to be set on each response. |
protected java.lang.String |
forwardPattern
The replacement pattern used to determine a context-relative URL from a ForwardConfig element. |
protected boolean |
inputForward
Should the input property of ActionConfig
instances associated with this module be treated as the name of a
corresponding ForwardConfig . |
protected boolean |
locale
Should we store a Locale object in the user's session if needed? |
protected java.lang.String |
maxFileSize
The maximum file size to process for file uploads. |
protected java.lang.String |
memFileSize
The maximum file size to retain in memory. |
protected java.lang.String |
multipartClass
The fully qualified Java class name of the MultipartRequestHandler class to be used. |
protected boolean |
nocache
Should we set no-cache HTTP headers on each response? |
protected java.lang.String |
pagePattern
The replacement pattern used to determine a context-relative URL from the page attribute of Struts tags and configuration
properties. |
protected java.lang.String |
processorClass
The fully qualified class name of the RequestProcessor implementation class to be used for this module. |
protected java.lang.String |
tempDir
The temporary working directory to use for file uploads. |
Fields inherited from class org.apache.struts.config.BaseConfig |
---|
configured |
Constructor Summary | |
---|---|
ControllerConfig()
|
Method Summary | |
---|---|
int |
getBufferSize()
|
java.lang.String |
getCatalog()
|
java.lang.String |
getCommand()
|
java.lang.String |
getContentType()
|
java.lang.String |
getForwardPattern()
|
boolean |
getInputForward()
|
boolean |
getLocale()
|
java.lang.String |
getMaxFileSize()
|
java.lang.String |
getMemFileSize()
|
java.lang.String |
getMultipartClass()
|
boolean |
getNocache()
|
java.lang.String |
getPagePattern()
|
java.lang.String |
getProcessorClass()
|
java.lang.String |
getTempDir()
|
void |
setBufferSize(int bufferSize)
|
void |
setCatalog(java.lang.String catalog)
|
void |
setCommand(java.lang.String command)
|
void |
setContentType(java.lang.String contentType)
|
void |
setForwardPattern(java.lang.String forwardPattern)
|
void |
setInputForward(boolean inputForward)
|
void |
setLocale(boolean locale)
|
void |
setMaxFileSize(java.lang.String maxFileSize)
|
void |
setMemFileSize(java.lang.String memFileSize)
|
void |
setMultipartClass(java.lang.String multipartClass)
|
void |
setNocache(boolean nocache)
|
void |
setPagePattern(java.lang.String pagePattern)
|
void |
setProcessorClass(java.lang.String processorClass)
|
void |
setTempDir(java.lang.String tempDir)
|
java.lang.String |
toString()
Return a String representation of this object. |
Methods inherited from class org.apache.struts.config.BaseConfig |
---|
copyProperties, freeze, getProperties, getProperty, inheritProperties, setProperties, setProperty, throwIfConfigured |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int bufferSize
The input buffer size for file uploads.
protected java.lang.String contentType
The content type and character encoding to be set on each response.
protected java.lang.String catalog
The chain catalog name for this module.
protected java.lang.String command
The chain command to execute for each request.
protected java.lang.String forwardPattern
The replacement pattern used to determine a context-relative URL
from a ForwardConfig
element. The pattern may consist of any
combination of the following markers and characters:
$M
- Replaced by the module prefix
for the current module.$P
- Replaced by the
path
property of a ForwardConfig
instance.$$
- Renders a literal dollar sign
("$") character in the resulting URL.If this property is set to null
, a default pattern of
$M$P
is utilized, which is backwards compatible with the
hard coded functionality in prior versions.
protected boolean inputForward
Should the input
property of ActionConfig
instances associated with this module be treated as the name of a
corresponding ForwardConfig
. A false
value treats
them as a module-relative path (consistent with the hard coded behavior
of earlier versions of Struts.
protected boolean locale
Should we store a Locale object in the user's session if needed?
protected java.lang.String maxFileSize
The maximum file size to process for file uploads.
protected java.lang.String memFileSize
The maximum file size to retain in memory.
protected java.lang.String multipartClass
The fully qualified Java class name of the MultipartRequestHandler class to be used.
protected boolean nocache
Should we set no-cache HTTP headers on each response?
protected java.lang.String pagePattern
The replacement pattern used to determine a context-relative URL
from the page
attribute of Struts tags and configuration
properties. The pattern may consist of any combination of the
following markers and characters:
$M
- Replaced by the module prefix
for the current module.$P
- Replaced by the
page
attribute value being evaluated.$$
- Renders a literal dollar sign
("$") character in the resulting URL.If this property is set to null
, a default pattern of
$M$P
is utilized, which is backwards compatible with the
hard coded functionality in prior versions.
protected java.lang.String processorClass
The fully qualified class name of the RequestProcessor implementation class to be used for this module.
protected java.lang.String tempDir
The temporary working directory to use for file uploads.
Constructor Detail |
---|
public ControllerConfig()
Method Detail |
---|
public int getBufferSize()
public void setBufferSize(int bufferSize)
public java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
public java.lang.String getCatalog()
public void setCatalog(java.lang.String catalog)
public java.lang.String getCommand()
public void setCommand(java.lang.String command)
public java.lang.String getForwardPattern()
public void setForwardPattern(java.lang.String forwardPattern)
public boolean getInputForward()
public void setInputForward(boolean inputForward)
public boolean getLocale()
public void setLocale(boolean locale)
public java.lang.String getMaxFileSize()
public void setMaxFileSize(java.lang.String maxFileSize)
public java.lang.String getMemFileSize()
public void setMemFileSize(java.lang.String memFileSize)
public java.lang.String getMultipartClass()
public void setMultipartClass(java.lang.String multipartClass)
public boolean getNocache()
public void setNocache(boolean nocache)
public java.lang.String getPagePattern()
public void setPagePattern(java.lang.String pagePattern)
public java.lang.String getProcessorClass()
public void setProcessorClass(java.lang.String processorClass)
public java.lang.String getTempDir()
public void setTempDir(java.lang.String tempDir)
public java.lang.String toString()
Return a String representation of this object.
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |