@Controller @RequestMapping(value="/bundles") public class BundlesController extends Object
| Constructor and Description |
|---|
BundlesController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.ModelAndView |
addBundle(String requestedWith,
javax.servlet.http.HttpSession session,
BundleForm bundleForm,
org.springframework.ui.Model model,
String actionPath)
Add Bundle Method
|
org.springframework.web.servlet.ModelAndView |
addMoreBundlesForm(String requestedWith,
javax.servlet.http.HttpSession session,
BundleForm simpleForm,
String domainName,
org.springframework.ui.Model model) |
org.springframework.web.servlet.ModelAndView |
assignBundlesForm(String requestedWith,
javax.servlet.http.HttpSession session,
BundleForm simpleForm,
org.springframework.ui.Model model) |
String |
handleIOException(IOException ex,
javax.servlet.http.HttpServletRequest request)
Handle exceptions as gracefully as possible
|
org.springframework.web.servlet.ModelAndView |
newBundleForm(String requestedWith,
javax.servlet.http.HttpSession session,
BundleForm simpleForm,
org.springframework.ui.Model model) |
org.springframework.web.servlet.ModelAndView |
refreshBundles(String requestedWith,
javax.servlet.http.HttpSession session,
BundleForm simpleForm,
org.springframework.ui.Model model) |
org.springframework.web.servlet.ModelAndView |
removeCertificates(String requestedWith,
javax.servlet.http.HttpSession session,
BundleForm simpleForm,
org.springframework.ui.Model model) |
void |
setTrustBundleService(org.nhind.config.rest.TrustBundleService bundleService) |
@Autowired public void setTrustBundleService(org.nhind.config.rest.TrustBundleService bundleService)
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
@RequestMapping(value="/addbundle",
method=POST)
public org.springframework.web.servlet.ModelAndView addBundle(@RequestHeader(value="X-Requested-With",required=false)
String requestedWith,
javax.servlet.http.HttpSession session,
@ModelAttribute
BundleForm bundleForm,
org.springframework.ui.Model model,
@RequestParam(value="submitType")
String actionPath)
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
@RequestMapping(value="/removebundle",
method=POST)
public org.springframework.web.servlet.ModelAndView removeCertificates(@RequestHeader(value="X-Requested-With",required=false)
String requestedWith,
javax.servlet.http.HttpSession session,
@ModelAttribute
BundleForm simpleForm,
org.springframework.ui.Model model)
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
@RequestMapping(value="/refreshBundles",
method=POST)
public org.springframework.web.servlet.ModelAndView refreshBundles(@RequestHeader(value="X-Requested-With",required=false)
String requestedWith,
javax.servlet.http.HttpSession session,
@ModelAttribute
BundleForm simpleForm,
org.springframework.ui.Model model)
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
@RequestMapping(value="/assignBundlesForm",
method=GET)
public org.springframework.web.servlet.ModelAndView assignBundlesForm(@RequestHeader(value="X-Requested-With",required=false)
String requestedWith,
javax.servlet.http.HttpSession session,
@ModelAttribute
BundleForm simpleForm,
org.springframework.ui.Model model)
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
@RequestMapping(value="/addMoreBundlesForm",
method=GET)
public org.springframework.web.servlet.ModelAndView addMoreBundlesForm(@RequestHeader(value="X-Requested-With",required=false)
String requestedWith,
javax.servlet.http.HttpSession session,
@ModelAttribute
BundleForm simpleForm,
@RequestParam(value="domainName")
String domainName,
org.springframework.ui.Model model)
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
@RequestMapping(value="/newBundleForm",
method=GET)
public org.springframework.web.servlet.ModelAndView newBundleForm(@RequestHeader(value="X-Requested-With",required=false)
String requestedWith,
javax.servlet.http.HttpSession session,
@ModelAttribute
BundleForm simpleForm,
org.springframework.ui.Model model)
@ExceptionHandler(value=java.io.IOException.class) public String handleIOException(IOException ex, javax.servlet.http.HttpServletRequest request)
ex - request - Copyright © 2021. All rights reserved.