Package de.terrestris.shoguncore.web
Class GeoServerInterceptorController<S extends GeoServerInterceptorService>
- java.lang.Object
-
- de.terrestris.shoguncore.web.GeoServerInterceptorController<S>
-
- Type Parameters:
S-
@Controller public class GeoServerInterceptorController<S extends GeoServerInterceptorService> extends Object
- Author:
- Daniel Koch, Kai Volland, terrestris GmbH & Co. KG
-
-
Field Summary
Fields Modifier and Type Field Description static StringERROR_MESSAGEprotected Sservice
-
Constructor Summary
Constructors Constructor Description GeoServerInterceptorController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)voidsetService(S service)
-
-
-
Field Detail
-
ERROR_MESSAGE
public static final String ERROR_MESSAGE
- See Also:
- Constant Field Values
-
service
protected S extends GeoServerInterceptorService service
-
-
Method Detail
-
interceptWmtsRequest
@GetMapping("/wmts.action/{service}/**") public org.springframework.http.ResponseEntity<?> interceptWmtsRequest(javax.servlet.http.HttpServletRequest request, @PathVariable("service") String service)
-
interceptGeoServerRequest
@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)- Parameters:
request-
-
setService
@Autowired public void setService(S service)
- Parameters:
service- the service to set
-
-