public class ServerWms13 extends EmulatedServer
documentBuilder, documentFactory, options, relayState| Constructor and Description |
|---|
ServerWms13(ServerOptions options)
Create an emulated WMS 1.3.0.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildCapabilities(org.opengis.cite.servlet.http.HttpServletRequest request,
org.opengis.cite.servlet.http.HttpServletResponse response,
boolean completeCapabilities)
Return an HTTP response to the client with valid headers and a body containing the Capabilities
XML document.
|
void |
buildException(String reason,
org.opengis.cite.servlet.http.HttpServletResponse response)
Return a Service Exception for `reason`.
|
void |
handleRequest(org.opengis.cite.servlet.http.HttpServletRequest request,
org.opengis.cite.servlet.http.HttpServletResponse response)
Build a valid WMS 1.3.0 response for the client request, and automatically complete the response.
|
buildSamlAuthRequest, buildSecurityContext, enableCors, getAuthenticationEnabled, getUri, getWriterForResponse, validateSamlAuthenticationResponse, validateSecureRequestpublic ServerWms13(ServerOptions options)
options - ServerOptions object with emulated server configurationpublic void handleRequest(org.opengis.cite.servlet.http.HttpServletRequest request,
org.opengis.cite.servlet.http.HttpServletResponse response)
throws TransformerException
handleRequest in class EmulatedServerrequest - Request from clientresponse - Response to build to send back to clientTransformerException - Exception if transformer could not convert document to streampublic void buildCapabilities(org.opengis.cite.servlet.http.HttpServletRequest request,
org.opengis.cite.servlet.http.HttpServletResponse response,
boolean completeCapabilities)
throws TransformerException
request - Source request from client, used to build absolute URLs for HREFsresponse - Response to build to send back to clientcompleteCapabilities - If true, build a complete capabilities documentTransformerException - Exception if transformer could not convert document to streampublic void buildException(String reason, org.opengis.cite.servlet.http.HttpServletResponse response) throws TransformerException
reason - String with reason for Service Exception.response - Response to build to send back to clientTransformerException - Exception if transformer could not convert document to streamCopyright © 2021 Open Geospatial Consortium. All rights reserved.