📄 wcsrequest.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.vfny.geoserver.wcs.requests;
import org.vfny.geoserver.Request;
import org.vfny.geoserver.global.GeoServer;
import org.vfny.geoserver.global.WCS;
import org.vfny.geoserver.wcs.servlets.WCService;
/**
* DOCUMENT ME!
*
* @author $Author: Alessio Fabiani (alessio.fabiani@gmail.com) $ (last modification)
* @author $Author: Simone Giannecchini (simboss1@gmail.com) $ (last modification)
*/
public class WCSRequest extends Request {
public static final String WCS_SERVICE_TYPE = "WCS";
/**
* A WCSRequest configured with WCS_SERVICE_TYPE
*/
public WCSRequest(String requestType, WCService service) {
super(WCS_SERVICE_TYPE, requestType, service);
}
/**
* Sets the wcs service object.
*/
public void setWCService(WCService wcs) {
setServiceRef(wcs);
}
/**
* Returns the wcs service object..
*/
public WCService getWCService() {
return (WCService) getServiceRef();
}
/**
* Convenience method for obtaining the global wcs service instance.
*/
public WCS getWCS() {
return getWCService().getWCS();
}
/**
* Convenience method for obtaining the global geoserver instance.
*/
public GeoServer getGeoServer() {
GeoServer gs = getWCS().getGeoServer();
return gs;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -