亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? controllerconfig.java

?? 這是STRUTS1.2。6的開發包。。這是我從芝APACHE網站下下來
?? JAVA
字號:
/*
 * $Id: ControllerConfig.java 54929 2004-10-16 16:38:42Z germuska $ 
 *
 * Copyright 1999-2004 The Apache Software Foundation.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


package org.apache.struts.config;


import java.io.Serializable;


/**
 * <p>A JavaBean representing the configuration information of a
 * <code>&lt;controller&gt;</code> element in a Struts
 * configuration file.</p>
 *
 * @version $Rev: 54929 $ $Date: 2004-10-16 09:38:42 -0700 (Sat, 16 Oct 2004) $
 * @since Struts 1.1
 */

public class ControllerConfig implements Serializable {


    // ----------------------------------------------------- Instance Variables


    /**
     * Has this component been completely configured?
     */
    protected boolean configured = false;


    // ------------------------------------------------------------- Properties


    /**
     * The input buffer size for file uploads.
     */
    protected int bufferSize = 4096;

    public int getBufferSize() {
        return (this.bufferSize);
    }

    public void setBufferSize(int bufferSize) {
        if (configured) {
            throw new IllegalStateException("Configuration is frozen");
        }
        this.bufferSize = bufferSize;
    }


    /**
     * The content type and character encoding to be set on each response.
     */
    protected String contentType = "text/html";

    public String getContentType() {
        return (this.contentType);
    }

    public void setContentType(String contentType) {
        if (configured) {
            throw new IllegalStateException("Configuration is frozen");
        }
        this.contentType = contentType;
    }

    /**
     * <p>The replacement pattern used to determine a context-relative URL
     * from a {@link ForwardConfig} element.  The pattern may consist of any
     * combination of the following markers and characters:</p>
     * <ul>
     * <li><code><strong>$M</strong></code> - Replaced by the module
     *     prefix for the current module.</li>
     * <li><code><strong>$P</strong></code> - Replaced by the <code>path</code>
     *     property of a {@link ForwardConfig} instance.</li>
     * <li><code><strong>$$</strong></code> - Renders a literal dollar sign
     *     ("$") character in the resulting URL.</li>
     * <li>A dollar sign followed by any other character is reserved for
     *     future use, and both characters are silently swallowed.</li>
     * <li>All other characters in the pattern are passed through unchanged.
     *     </li>
     * </ul>
     *
     * <p>If this property is set to <code>null</code>, a default pattern of
     * <code>$M$P</code> is utilized, which is backwards compatible with
     * the hard coded functionality in prior versions.</p>
     */
    protected String forwardPattern = null;

    public String getForwardPattern() {
        return (this.forwardPattern);
    }

    public void setForwardPattern(String forwardPattern) {
        this.forwardPattern = forwardPattern;
    }


    /**
     * <p>Should the <code>input</code> property of {@link ActionConfig}
     * instances associated with this module be treated as the
     * name of a corresponding {@link ForwardConfig}.  A <code>false</code>
     * value treats them as a module-relative path (consistent
     * with the hard coded behavior of earlier versions of Struts.</p>
     *
     * @since Struts 1.1
     */
    protected boolean inputForward = false;

    public boolean getInputForward() {
        return (this.inputForward);
    }

    public void setInputForward(boolean inputForward) {
        this.inputForward = inputForward;
    }


    /**
     * Should we store a Locale object in the user's session if needed?
     */
    protected boolean locale = true;

    public boolean getLocale() {
        return (this.locale);
    }

    public void setLocale(boolean locale) {
        if (configured) {
            throw new IllegalStateException("Configuration is frozen");
        }
        this.locale = locale;
    }


    /**
     * The maximum file size to process for file uploads.
     */
    protected String maxFileSize = "250M";

    public String getMaxFileSize() {
        return (this.maxFileSize);
    }

    public void setMaxFileSize(String maxFileSize) {
        if (configured) {
            throw new IllegalStateException("Configuration is frozen");
        }
        this.maxFileSize = maxFileSize;
    }


    /**
     * The maximum file size to retain in memory.
     */
    protected String memFileSize = "256K";

    public String getMemFileSize() {
        return (this.memFileSize);
    }

    public void setMemFileSize(String memFileSize) {
        if (configured) {
            throw new IllegalStateException("Configuration is frozen");
        }
        this.memFileSize = memFileSize;
    }


    /**
     * The fully qualified Java class name of the MultipartRequestHandler
     * class to be used.
     */
    protected String multipartClass =
        "org.apache.struts.upload.CommonsMultipartRequestHandler";

    public String getMultipartClass() {
        return (this.multipartClass);
    }

    public void setMultipartClass(String multipartClass) {
        if (configured) {
            throw new IllegalStateException("Configuration is frozen");
        }
        this.multipartClass = multipartClass;
    }


    /**
     * Should we set no-cache HTTP headers on each response?
     */
    protected boolean nocache = false;

    public boolean getNocache() {
        return (this.nocache);
    }

    public void setNocache(boolean nocache) {
        if (configured) {
            throw new IllegalStateException("Configuration is frozen");
        }
        this.nocache = nocache;
    }


    /**
     * <p>The replacement pattern used to determine a context-relative URL
     * from the <code>page</code> attribute of Struts tags and configuration
     * properties.  The pattern may consist of any combination of the
     * following markers and characters:</p>
     * <ul>
     * <li><code><strong>$M</strong></code> - Replaced by the module
     *     prefix for the current module.</li>
     * <li><code><strong>$P</strong></code> - Replaced by the <code>page</code>
     *     attribute value being evaluated.</li>
     * <li><code><strong>$$</strong></code> - Renders a literal dollar sign
     *     ("$") character in the resulting URL.</li>
     * <li>A dollar sign followed by any other character is reserved for
     *     future use, and both characters are silently swallowed.</li>
     * <li>All other characters in the pattern are passed through unchanged.
     *     </li>
     * </ul>
     *
     * <p>If this property is set to <code>null</code>, a default pattern of
     * <code>$M$P</code> is utilized, which is backwards compatible with
     * the hard coded functionality in prior versions.</p>
     */
    protected String pagePattern = null;

    public String getPagePattern() {
        return (this.pagePattern);
    }

    public void setPagePattern(String pagePattern) {
        this.pagePattern = pagePattern;
    }


    /**
     * The fully qualified class name of the RequestProcessor implementation
     * class to be used for this module.
     */
    protected String processorClass =
        "org.apache.struts.action.RequestProcessor";

    public String getProcessorClass() {
        return (this.processorClass);
    }

    public void setProcessorClass(String processorClass) {
        if (configured) {
            throw new IllegalStateException("Configuration is frozen");
        }
        this.processorClass = processorClass;
    }


    /**
     * The temporary working directory to use for file uploads.
     */
    protected String tempDir = null;

    public String getTempDir() {
        return (this.tempDir);
    }

    public void setTempDir(String tempDir) {
        if (configured) {
            throw new IllegalStateException("Configuration is frozen");
        }
        this.tempDir = tempDir;
    }


    // --------------------------------------------------------- Public Methods


    /**
     * Freeze the configuration of this component.
     */
    public void freeze() {

        configured = true;

    }


    /**
     * Return a String representation of this object.
     */
    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());

    }


}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久久99精品国产片| 精品国产网站在线观看| 韩国v欧美v亚洲v日本v| 一区二区三区四区视频精品免费| 欧美一区二区三区视频免费| 91丨porny丨中文| 激情综合色综合久久| 亚洲成人免费在线| 中文字幕中文字幕一区二区| 欧美成人一级视频| 欧美精品xxxxbbbb| 日本丶国产丶欧美色综合| 国产成+人+日韩+欧美+亚洲| 日本亚洲电影天堂| 午夜精品久久久久影视| 亚洲三级电影全部在线观看高清| 精品剧情v国产在线观看在线| 欧美色精品天天在线观看视频| 波多野结衣中文字幕一区二区三区| 日本不卡中文字幕| 午夜电影久久久| 亚洲人成7777| 亚洲欧洲av在线| 国产精品理论在线观看| 国产日韩欧美精品在线| 欧美va亚洲va国产综合| 日韩三级中文字幕| 欧美一区二区精美| 这里只有精品免费| 欧美日韩的一区二区| 欧美主播一区二区三区美女| 91在线云播放| 色综合天天综合网天天看片| 精品一区二区三区影院在线午夜| 青青草97国产精品免费观看| 亚洲国产乱码最新视频| 一区二区三区毛片| 亚洲欧美日韩久久| 一区二区三区日韩精品视频| 亚洲精品精品亚洲| 亚洲与欧洲av电影| 婷婷开心激情综合| 日本特黄久久久高潮| 亚洲综合丁香婷婷六月香| 欧美一二三区在线观看| 欧美精三区欧美精三区| 日韩电影在线一区二区三区| 亚洲精品高清在线| 亚洲少妇中出一区| 久久久久久免费毛片精品| 久久婷婷综合激情| 国产女主播视频一区二区| 亚洲国产精品二十页| 国产精品美女久久久久久久久 | 亚洲精品福利视频网站| 亚洲私人影院在线观看| 99麻豆久久久国产精品免费| 成人美女在线观看| 91在线国内视频| 欧美三区免费完整视频在线观看| 欧美日韩大陆一区二区| 欧美大片国产精品| 国产精品天干天干在线综合| 亚洲青青青在线视频| 日本大胆欧美人术艺术动态| 国产真实乱子伦精品视频| 高清beeg欧美| 欧美午夜影院一区| 久久亚洲精精品中文字幕早川悠里| 久久精品视频网| 一区二区三区中文字幕精品精品 | 亚洲欧洲精品一区二区三区不卡| 亚洲精品日韩一| 麻豆一区二区三| 成人av网站免费观看| 欧美美女一区二区| 国产欧美日韩激情| 午夜久久久久久久久 | 91麻豆精品国产自产在线| 亚洲精品在线免费播放| 亚洲日穴在线视频| 久久精品久久久精品美女| 成人污污视频在线观看| 69堂成人精品免费视频| 国产精品你懂的在线欣赏| 亚洲国产成人高清精品| 丁香激情综合五月| 在线播放中文一区| 国产精品乱码人人做人人爱 | 狠狠色狠狠色合久久伊人| 91亚洲午夜精品久久久久久| 91精品国产综合久久久蜜臀粉嫩| 国产欧美精品一区| 日日欢夜夜爽一区| 色综合久久中文综合久久牛| 日韩女优av电影| 一区二区三区加勒比av| 夫妻av一区二区| 91精品国产全国免费观看| 中文字幕日韩av资源站| 国产在线精品一区二区三区不卡| 欧美综合亚洲图片综合区| 国产免费观看久久| 蜜桃av噜噜一区| 欧美日韩一区二区三区在线看 | 亚洲成人动漫在线免费观看| 高清免费成人av| 精品国产亚洲在线| 人人精品人人爱| 欧美日韩国产不卡| 亚洲三级小视频| 99视频有精品| 国产日韩欧美精品一区| 久久国产成人午夜av影院| 欧美伦理影视网| 亚洲第一二三四区| 在线欧美小视频| 亚洲同性同志一二三专区| 国产成人av影院| 久久久久国产精品麻豆| 精品一区二区三区不卡| 日韩一区二区三区高清免费看看| 午夜伦欧美伦电影理论片| 欧美亚洲一区二区在线观看| 亚洲欧洲成人精品av97| 99re热视频精品| 中文字幕一区在线观看视频| 成人夜色视频网站在线观看| 久久人人97超碰com| 国产精品影视天天线| 久久精品亚洲乱码伦伦中文| 精品一区二区成人精品| 欧美成人福利视频| 久久99最新地址| 精品动漫一区二区三区在线观看| 蜜臀av性久久久久蜜臀aⅴ四虎| 在线成人免费观看| 青青草原综合久久大伊人精品| 欧美一区二区三区在线视频| 秋霞电影一区二区| 欧美精品一区二区不卡 | 国产福利一区在线| 国产人成亚洲第一网站在线播放| 国产麻豆精品一区二区| 国产精品久久久久天堂| 91蝌蚪porny成人天涯| 一区二区三区中文字幕| 欧美日韩色一区| 日本不卡一区二区三区高清视频| 欧美大片顶级少妇| 国产91丝袜在线播放0| 亚洲欧美影音先锋| 在线观看国产一区二区| 日本特黄久久久高潮| 久久久综合视频| 99精品久久99久久久久| 亚洲成人自拍偷拍| 日韩免费高清电影| 不卡高清视频专区| 亚洲成人免费影院| 久久免费国产精品| 91在线视频18| 天天亚洲美女在线视频| 欧美xingq一区二区| av午夜一区麻豆| 日韩在线卡一卡二| 精品粉嫩aⅴ一区二区三区四区 | 欧美日韩国产一区二区三区地区| 免费成人在线网站| 国产精品女同一区二区三区| 欧美性感一区二区三区| 国产一区二区三区四区五区美女| 国产欧美精品国产国产专区| 欧美亚洲综合色| 国产精品538一区二区在线| 亚洲女同ⅹxx女同tv| 欧美一级国产精品| 成人91在线观看| 男人的j进女人的j一区| 中文字幕亚洲一区二区va在线| 91精品一区二区三区在线观看| 国产精品一区专区| 日韩中文字幕一区二区三区| 国产精品视频九色porn| 91精品在线免费| 色婷婷久久99综合精品jk白丝| 激情另类小说区图片区视频区| 亚洲女人小视频在线观看| 久久综合色鬼综合色| 欧美日韩一本到| 成人av在线播放网站| 毛片不卡一区二区| 亚洲国产一区二区视频| 欧美激情综合五月色丁香小说| 777精品伊人久久久久大香线蕉| 国产99久久精品| 久久99精品久久久久久动态图| 一区二区三区不卡视频| 亚洲国产精品成人综合色在线婷婷 | 美日韩一级片在线观看|