Interface PreHandlingService


  • public interface PreHandlingService
    The Pre-Handling Service contains all functionality for pre-handling of forms. As it is called by a filter, it checks if the requested elementholder contains a FormElement and if so, it will explore if the connected form contains pre-handling logic. If pre-handling logic is present, it will be executed. Moreover, a RoutingResult returned by the pre-handling logic will be processed.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean managePrehandling​(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp)
      Manages the pre-handling given the current request.
    • Method Detail

      • managePrehandling

        boolean managePrehandling​(javax.servlet.ServletRequest req,
                                  javax.servlet.ServletResponse resp)
                           throws IOException,
                                  javax.servlet.ServletException
        Manages the pre-handling given the current request.
        Parameters:
        req - current reguest which was applied by the filter chain
        resp - response which was applied by the filter chain
        chain - the current filter chain
        Returns:
        true if the filter chain has to be stopped
        Throws:
        IOException
        javax.servlet.ServletException