⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 outputstrategyfactory.java

📁 电子地图服务器,搭建自己的地图服务
💻 JAVA
字号:
/* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
 * This code is licensed under the GPL 2.0 license, availible at the root
 * application directory.
 */
package org.geoserver.ows;

import javax.servlet.http.HttpServletResponse;


/**
 * Factory used to create an {@link ServiceStrategy} for a request.
 * <p>
 * An {@link ServiceStrategy} is used to provide different modes of writing
 * output.
 * </p>
 * <p>
 * Examples include a "safe mode", in which the entire response is buffered
 * before being output, as to ensure no errors occur during the writing
 * of a response. Another example may include a "speed mode" where data is
 * written directly to the output with no buffering.
 * </p>
 * @author Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org
 *
 */
public interface OutputStrategyFactory {
    /**
     * Creates an output strategy for a response.
     *
     * @param response The response which contains the live output stream in
     * which to write data to.
     *
     * @return An output strategy to write output to.
     */
    ServiceStrategy createOutputStrategy(HttpServletResponse response);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -