|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.config.ui.CertificatesController
@Controller @RequestMapping(value="/certificates") public class CertificatesController
| Constructor Summary | |
|---|---|
CertificatesController()
|
|
| Method Summary | |
|---|---|
org.springframework.web.servlet.ModelAndView |
addCertificate(String requestedWith,
javax.servlet.http.HttpSession session,
CertificateForm certificateForm,
org.springframework.ui.Model model,
String actionPath)
|
String |
handleIOException(IOException ex,
javax.servlet.http.HttpServletRequest request)
Handle exceptions as gracefully as possible |
org.springframework.web.servlet.ModelAndView |
removeCertificates(String requestedWith,
javax.servlet.http.HttpSession session,
CertificateForm simpleForm,
org.springframework.ui.Model model,
String actionPath)
|
void |
setConfigurationService(org.nhindirect.config.service.ConfigurationService certService)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CertificatesController()
| Method Detail |
|---|
@Inject public void setConfigurationService(org.nhindirect.config.service.ConfigurationService certService)
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
@RequestMapping(value="/addcertificate",
method=POST)
public org.springframework.web.servlet.ModelAndView addCertificate(@RequestHeader(value="X-Requested-With",required=false)
String requestedWith,
javax.servlet.http.HttpSession session,
@ModelAttribute
CertificateForm certificateForm,
org.springframework.ui.Model model,
@RequestParam(value="submitType")
String actionPath)
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
@RequestMapping(value="/removecertifcates",
method=POST)
public org.springframework.web.servlet.ModelAndView removeCertificates(@RequestHeader(value="X-Requested-With",required=false)
String requestedWith,
javax.servlet.http.HttpSession session,
@ModelAttribute
CertificateForm simpleForm,
org.springframework.ui.Model model,
@RequestParam(value="submitType")
String actionPath)
@ExceptionHandler(value=java.io.IOException.class)
public String handleIOException(IOException ex,
javax.servlet.http.HttpServletRequest request)
ex - request -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||