org.geoserver.ows.Request.getServiceDescriptor()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.1k)|赞(0)|评价(0)|浏览(196)

本文整理了Java中org.geoserver.ows.Request.getServiceDescriptor方法的一些代码示例,展示了Request.getServiceDescriptor的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.getServiceDescriptor方法的具体详情如下:
包路径:org.geoserver.ows.Request
类名称:Request
方法名:getServiceDescriptor

Request.getServiceDescriptor介绍

[英]The service descriptor of the service/version that was actually dispatched.
[中]实际调度的服务/版本的服务描述符。

代码示例

代码示例来源:origin: geoserver/geoserver

if (useServiceVersion && request.getServiceDescriptor() != null) {
  version = request.getServiceDescriptor().getVersion().toString();

代码示例来源:origin: org.geoserver.community/gs-wfs3

Service wfs3 =
    this.wfs3.getOrCompute(() -> (Service) GeoServerExtensions.bean("wfsService-3.0"));
if (wfs3.equals(request.getServiceDescriptor())) {
  String header = request.getHttpRequest().getHeader(HttpHeaders.ACCEPT);
  Object parsedRequest = operation.getParameters()[0];

代码示例来源:origin: org.geoserver/gs-wcs2_0

if (useServiceVersion && request.getServiceDescriptor() != null) {
  version = request.getServiceDescriptor().getVersion().toString();

相关文章