public class CommunoteWebServiceController extends Object implements org.springframework.web.servlet.mvc.Controller, org.springframework.web.context.ServletContextAware, CommunoteWebServiceRegistry
Constructor and Description |
---|
CommunoteWebServiceController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
registerService(CommunoteWebServiceDefinition communoteWebserviceDefinition) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
void |
unregisterService(CommunoteWebServiceDefinition definition) |
void |
unregisterService(String pluginName,
String urlPattern) |
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
handleRequest
in interface org.springframework.web.servlet.mvc.Controller
javax.servlet.ServletException
public void registerService(CommunoteWebServiceDefinition communoteWebserviceDefinition)
registerService
in interface CommunoteWebServiceRegistry
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext
in interface org.springframework.web.context.ServletContextAware
public void unregisterService(CommunoteWebServiceDefinition definition)
unregisterService
in interface CommunoteWebServiceRegistry
public void unregisterService(String pluginName, String urlPattern)
unregisterService
in interface CommunoteWebServiceRegistry
Copyright © 2019 Communote team. All rights reserved.