ar.com.jmfsg.documentation.controller
Class DocumentationController
java.lang.Object
ar.com.jmfsg.documentation.controller.DocumentationController
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
@Controller
public class DocumentationController
- extends Object
- implements org.springframework.beans.factory.InitializingBean
Controller mapping /docs/**
- Author:
- jformoso
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentationController
public DocumentationController()
getIndex
@RequestMapping(value={"/","/docs"},
method=GET)
public org.springframework.web.servlet.ModelAndView getIndex()
getRaw
@RequestMapping(value="/docs/raw",
method=GET)
public org.springframework.web.servlet.ModelAndView getRaw(javax.servlet.http.HttpServletResponse response,
@RequestHeader(value="If-None-Matches",required=false)
String ifNoneMatches)
getFavicon
@RequestMapping(value="/favicon.ico",
method=GET)
public org.springframework.web.servlet.ModelAndView getFavicon()
getDetail
@RequestMapping(value="/docs/method/{method}",
method=GET)
public org.springframework.web.servlet.ModelAndView getDetail(@PathVariable
String method)
getPage
@RequestMapping(value="/docs/page/{name}",
method=GET)
public org.springframework.web.servlet.ModelAndView getPage(@PathVariable
String name)
jsonResult
@RequestMapping(value="/docs/jsonResult/",
method=GET)
public String jsonResult(org.springframework.ui.Model model)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getDocumentationLoader
public DocumentationLoader getDocumentationLoader()
setDocumentationLoader
public void setDocumentationLoader(DocumentationLoader documentationLoader)
Copyright © 2013. All Rights Reserved.