protected 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.
- A dollar sign followed by any other character is reserved for
future use, and both characters are silently swallowed.
- All other characters in the pattern are passed through unchanged.
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 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.
- A dollar sign followed by any other character is reserved for
future use, and both characters are silently swallowed.
- All other characters in the pattern are passed through unchanged.
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. |
Method from org.apache.struts.config.ControllerConfig Detail: |
public void freeze() {
configured = true;
}
Freeze the configuration of this component. |
public int getBufferSize() {
return (this.bufferSize);
}
|
public String getContentType() {
return (this.contentType);
}
|
public String getForwardPattern() {
return (this.forwardPattern);
}
|
public boolean getInputForward() {
return (this.inputForward);
}
|
public boolean getLocale() {
return (this.locale);
}
|
public String getMaxFileSize() {
return (this.maxFileSize);
}
|
public String getMemFileSize() {
return (this.memFileSize);
}
|
public String getMultipartClass() {
return (this.multipartClass);
}
|
public boolean getNocache() {
return (this.nocache);
}
|
public String getPagePattern() {
return (this.pagePattern);
}
|
public String getProcessorClass() {
return (this.processorClass);
}
|
public String getTempDir() {
return (this.tempDir);
}
|
public void setBufferSize(int bufferSize) {
if (configured) {
throw new IllegalStateException("Configuration is frozen");
}
this.bufferSize = bufferSize;
}
|
public void setContentType(String contentType) {
if (configured) {
throw new IllegalStateException("Configuration is frozen");
}
this.contentType = contentType;
}
|
public void setForwardPattern(String forwardPattern) {
this.forwardPattern = forwardPattern;
}
|
public void setInputForward(boolean inputForward) {
this.inputForward = inputForward;
}
|
public void setLocale(boolean locale) {
if (configured) {
throw new IllegalStateException("Configuration is frozen");
}
this.locale = locale;
}
|
public void setMaxFileSize(String maxFileSize) {
if (configured) {
throw new IllegalStateException("Configuration is frozen");
}
this.maxFileSize = maxFileSize;
}
|
public void setMemFileSize(String memFileSize) {
if (configured) {
throw new IllegalStateException("Configuration is frozen");
}
this.memFileSize = memFileSize;
}
|
public void setMultipartClass(String multipartClass) {
if (configured) {
throw new IllegalStateException("Configuration is frozen");
}
this.multipartClass = multipartClass;
}
|
public void setNocache(boolean nocache) {
if (configured) {
throw new IllegalStateException("Configuration is frozen");
}
this.nocache = nocache;
}
|
public void setPagePattern(String pagePattern) {
this.pagePattern = pagePattern;
}
|
public void setProcessorClass(String processorClass) {
if (configured) {
throw new IllegalStateException("Configuration is frozen");
}
this.processorClass = processorClass;
}
|
public void setTempDir(String tempDir) {
if (configured) {
throw new IllegalStateException("Configuration is frozen");
}
this.tempDir = tempDir;
}
|
public String toString() {
StringBuffer sb = new StringBuffer("ControllerConfig[");
sb.append("bufferSize=");
sb.append(this.bufferSize);
if (this.contentType != null) {
sb.append(",contentType=");
sb.append(this.contentType);
}
if (this.forwardPattern != null) {
sb.append(",forwardPattern=");
sb.append(this.forwardPattern);
}
sb.append(",inputForward=");
sb.append(this.inputForward);
sb.append(",locale=");
sb.append(this.locale);
if (this.maxFileSize != null) {
sb.append(",maxFileSize=");
sb.append(this.maxFileSize);
}
if (this.memFileSize != null) {
sb.append(",memFileSize=");
sb.append(this.memFileSize);
}
sb.append(",multipartClass=");
sb.append(this.multipartClass);
sb.append(",nocache=");
sb.append(this.nocache);
if (this.pagePattern != null) {
sb.append(",pagePattern=");
sb.append(this.pagePattern);
}
sb.append(",processorClass=");
sb.append(this.processorClass);
if (this.tempDir != null) {
sb.append(",tempDir=");
sb.append(this.tempDir);
}
sb.append("]");
return (sb.toString());
}
Return a String representation of this object. |