@Controller
@RequestMapping(value="/events")
@SessionAttributes(value={"searchCriteria","pageNo"})
public class WiretapEventsSearchFormController
extends Object
| Constructor and Description |
|---|
WiretapEventsSearchFormController(WiretapService wiretapService,
ModuleService moduleService)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<Module> |
getModuleNames()
Get the module names
|
String |
housekeepWiretaps()
Handle the request to execute the housekeeper
|
String |
next(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap modelMap)
Search for the next page of results
|
String |
previous(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap modelMap)
Search for the previous page of results
|
String |
processSubmit(org.springframework.ui.ModelMap modelMap,
WiretapSearchCriteria searchCriteria,
org.springframework.validation.BindingResult result)
Handle submission of the search form
|
String |
searchResults(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap modelMap)
Return to the search results page
|
String |
setupForm(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model)
Setup the search form
|
org.springframework.web.servlet.ModelAndView |
viewEvent(long eventId,
org.springframework.ui.ModelMap modelMap)
View a specified WiretapEvent
|
org.springframework.web.servlet.ModelAndView |
viewPrettyPayloadContent(long eventId,
javax.servlet.http.HttpServletResponse response)
View a specific payload content in a best guess native format
|
@Autowired public WiretapEventsSearchFormController(WiretapService wiretapService, ModuleService moduleService)
wiretapService - - The wiretap service to usemoduleService - - The module container to use@ModelAttribute(value="modules") public List<Module> getModuleNames()
@RequestMapping(value="search.htm",
method=GET)
public String setupForm(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.ModelMap model)
request - The standard HttpServletRequestmodel - The window@RequestMapping(value="search.htm",
method=POST)
public String processSubmit(org.springframework.ui.ModelMap modelMap,
@ModelAttribute(value="searchCriteria")
WiretapSearchCriteria searchCriteria,
org.springframework.validation.BindingResult result)
modelMap - The windowsearchCriteria - The criteria to search onresult - The place holder for the result@RequestMapping(value="next.htm") public String next(javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap modelMap)
request - The standard HttpServletRequestmodelMap - The window@RequestMapping(value="searchResults.htm") public String searchResults(javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap modelMap)
request - The standard HttpServletRequestmodelMap - The window@RequestMapping(value="previous.htm") public String previous(javax.servlet.http.HttpServletRequest request, org.springframework.ui.ModelMap modelMap)
request - The standard HttpServletRequestmodelMap - The window@RequestMapping(value="viewEvent.htm")
public org.springframework.web.servlet.ModelAndView viewEvent(@RequestParam(value="eventId")
long eventId,
org.springframework.ui.ModelMap modelMap)
eventId - The id of the event to getmodelMap - The window@RequestMapping(value="viewPrettyPayloadContent.htm")
public org.springframework.web.servlet.ModelAndView viewPrettyPayloadContent(@RequestParam(value="eventId")
long eventId,
javax.servlet.http.HttpServletResponse response)
eventId - The id of the event to getresponse - - Standard response stream@RequestMapping(value="housekeeping.htm",
method=POST)
public String housekeepWiretaps()
Copyright © 2007-2017 Ikasan. All Rights Reserved.