@Service public class GeoServerInterceptorService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected LayerService<Layer,LayerDao<Layer>> |
layerService |
| Constructor and Description |
|---|
GeoServerInterceptorService() |
| Modifier and Type | Method and Description |
|---|---|
static URI |
appendQueryString(URI uri,
String appendQuery)
Returns a new URI with the passed queryString (e.g. foo=bar&baz=123) appended to the passed URI.
|
URI |
getGeoServerBaseURIFromNameSpace(String geoServerNamespace,
boolean useWmsReflector,
boolean isWMS) |
Properties |
getGeoServerNameSpaces() |
Response |
interceptGeoServerRequest(javax.servlet.http.HttpServletRequest request) |
Response |
interceptGeoServerRequest(javax.servlet.http.HttpServletRequest request,
Optional<String> endpoint) |
Response |
interceptWmtsRequest(javax.servlet.http.HttpServletRequest request,
String serviceId) |
static Response |
sendRequest(MutableHttpServletRequest request) |
void |
setGeoServerNameSpaces(Properties geoServerNameSpaces) |
void |
setInterceptorRuleService(InterceptorRuleService<InterceptorRule,?> interceptorRuleService) |
void |
setOgcMessageDistributor(OgcMessageDistributor ogcMessageDistributor) |
@Autowired @Qualifier(value="layerService") protected LayerService<Layer,LayerDao<Layer>> layerService
public static Response sendRequest(MutableHttpServletRequest request) throws InterceptorException, org.apache.http.HttpException
request - InterceptorExceptionorg.apache.http.HttpExceptionpublic static URI appendQueryString(URI uri, String appendQuery)
uri - appendQuery - public Response interceptWmtsRequest(javax.servlet.http.HttpServletRequest request, String serviceId) throws UnsupportedEncodingException, InterceptorException, org.apache.http.HttpException, URISyntaxException
UnsupportedEncodingExceptionInterceptorExceptionorg.apache.http.HttpExceptionURISyntaxExceptionpublic Response interceptGeoServerRequest(javax.servlet.http.HttpServletRequest request) throws InterceptorException, URISyntaxException, org.apache.http.HttpException, IOException
request - InterceptorExceptionURISyntaxExceptionorg.apache.http.HttpExceptionIOExceptionpublic Response interceptGeoServerRequest(javax.servlet.http.HttpServletRequest request, Optional<String> endpoint) throws InterceptorException, URISyntaxException, org.apache.http.HttpException, IOException
request - endpoint - InterceptorExceptionURISyntaxExceptionorg.apache.http.HttpExceptionIOExceptionpublic URI getGeoServerBaseURIFromNameSpace(String geoServerNamespace, boolean useWmsReflector, boolean isWMS) throws URISyntaxException, InterceptorException
geoServerNamespace - useWmsReflector - isWMS - URISyntaxExceptionInterceptorExceptionpublic void setOgcMessageDistributor(OgcMessageDistributor ogcMessageDistributor)
ogcMessageDistributor - the ogcMessageDistributor to setpublic void setInterceptorRuleService(InterceptorRuleService<InterceptorRule,?> interceptorRuleService)
interceptorRuleService - the interceptorRuleService to setpublic Properties getGeoServerNameSpaces()
@Autowired @Qualifier(value="geoServerNameSpaces") public void setGeoServerNameSpaces(Properties geoServerNameSpaces)
geoServerNameSpaces - the geoServerNameSpaces to setCopyright © 2020 terrestris GmbH & Co. KG. All rights reserved.