Package com.composum.sling.core.proxy
Class GenericProxyServlet
- java.lang.Object
 - 
- javax.servlet.GenericServlet
 - 
- org.apache.sling.api.servlets.SlingSafeMethodsServlet
 - 
- com.composum.sling.core.proxy.GenericProxyServlet
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class GenericProxyServlet extends org.apache.sling.api.servlets.SlingSafeMethodsServletthe generic proxy servlet delegates proxy requests to the collected generic proxy service implementations- See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static PatternEXTERNAL_SUFFIXprotected List<GenericProxyService>instancesstatic StringSERVICE_KEY 
- 
Constructor Summary
Constructors Constructor Description GenericProxyServlet() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddProxyService(@NotNull GenericProxyService service)protected voiddoGet(@NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull org.apache.sling.api.SlingHttpServletResponse response)protected voidremoveProxyService(@NotNull GenericProxyService service)- 
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
doGeneric, doHead, doOptions, doTrace, getAllowedRequestMethods, getServletInfo, handleMethodNotImplemented, mayService, service, service 
 - 
 
 - 
 
- 
- 
Field Detail
- 
SERVICE_KEY
public static final String SERVICE_KEY
- See Also:
 - Constant Field Values
 
 
- 
EXTERNAL_SUFFIX
public static final Pattern EXTERNAL_SUFFIX
 
- 
instances
protected List<GenericProxyService> instances
 
 - 
 
- 
Method Detail
- 
addProxyService
protected void addProxyService(@NotNull @NotNull GenericProxyService service) 
- 
removeProxyService
protected void removeProxyService(@NotNull @NotNull GenericProxyService service) 
- 
doGet
protected void doGet(@NotNull @NotNull org.apache.sling.api.SlingHttpServletRequest request, @NotNull @NotNull org.apache.sling.api.SlingHttpServletResponse response) throws IOException- Overrides:
 doGetin classorg.apache.sling.api.servlets.SlingSafeMethodsServlet- Throws:
 IOException
 
 - 
 
 -