public class BookmarkletController extends ViewController implements org.springframework.web.servlet.mvc.Controller
DEFAULT_MAIN_TEMPLATE, DEFAULT_MAIN_TEMPLATE_ADMINISTRATION
Constructor and Description |
---|
BookmarkletController(org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
String |
getContentTemplate() |
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Map<String,? extends Object> |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes the request and returns a map with additional content.
|
doDelete, doGet, doHead, doPost, doPut, doUnknown, getMainTemplate, getSymbolicName
public BookmarkletController(org.osgi.framework.BundleContext bundleContext)
bundleContext
- The current bundle context.public String getContentTemplate()
getContentTemplate
in interface PluginViewController
getContentTemplate
in class ViewController
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
handleRequest
in interface org.springframework.web.servlet.mvc.Controller
handleRequest
in class ViewController
Exception
public Map<String,? extends Object> processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ViewControllerException
processRequest
in class ViewController
request
- The request.response
- The response.ViewControllerException
- Exception.Copyright © 2019 Communote team. All rights reserved.