Package org.silverpeas.processmanager.servlets

# Interface FunctionHandler

All Known Implementing Classes:
  `SessionSafeFunctionHandler`

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FunctionHandler
A function handler is associated to a peas function and is called by the request router when this function has to be processed.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getDestination(String function, ProcessManagerSessionController session, jakarta.servlet.http.HttpServletRequest request)`
  Process the request and returns the response url.

- ## Method Details

  - ### getDestination

    String getDestination(String function, ProcessManagerSessionController session, jakarta.servlet.http.HttpServletRequest request) throws ProcessManagerException
    Process the request and returns the response url.
    Parameters:
      `function` - the user request name
      `session` - the user request context
      `request` - the user request params
    Throws:
      `ProcessManagerException`