org.apache.sling.discovery.impl.topology.connector
Class TopologyConnectorServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.sling.discovery.impl.topology.connector.TopologyConnectorServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
@Service(value=TopologyConnectorServlet.class)
public class TopologyConnectorServlet
- extends javax.servlet.http.HttpServlet
Servlet which receives topology announcements at
/libs/sling/topology/connector*
without authorization (authorization is handled either via
hmac-signature with a shared key or via a flexible whitelist)
- See Also:
- Serialized Form
Method Summary |
protected void |
activate(org.osgi.service.component.ComponentContext context)
|
protected void |
deactivate()
|
protected void |
doDelete(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
doPut(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doGet, doHead, doOptions, doPost, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopologyConnectorServlet
public TopologyConnectorServlet()
activate
@Activate
protected void activate(org.osgi.service.component.ComponentContext context)
deactivate
@Deactivate
protected void deactivate()
doDelete
protected void doDelete(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
doDelete
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
doPut
protected void doPut(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
doPut
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.