S - @Controller public class GeoServerInterceptorController<S extends GeoServerInterceptorService> extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_MESSAGE |
protected S |
service |
| Constructor and Description |
|---|
GeoServerInterceptorController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<?> |
interceptGeoServerRequest(javax.servlet.http.HttpServletRequest request,
Optional<String> endpoint) |
org.springframework.http.ResponseEntity<?> |
interceptWmtsRequest(javax.servlet.http.HttpServletRequest request,
String service) |
void |
setService(S service) |
public static final String ERROR_MESSAGE
protected S extends GeoServerInterceptorService service
@GetMapping(value="/wmts.action/{service}/**")
public org.springframework.http.ResponseEntity<?> interceptWmtsRequest(javax.servlet.http.HttpServletRequest request,
@PathVariable(value="service")
String service)
@RequestMapping(value={"/geoserver.action","/geoserver.action/{endpoint}/**"},
method={GET,POST})
public org.springframework.http.ResponseEntity<?> interceptGeoServerRequest(javax.servlet.http.HttpServletRequest request,
@PathVariable(value="endpoint",required=false)
Optional<String> endpoint)
request - @Autowired public void setService(S service)
service - the service to setCopyright © 2020 terrestris GmbH & Co. KG. All rights reserved.