Class TkForward

  • All Implemented Interfaces:
    Take

    public final class TkForward
    extends Object
    implements Take
    Redirect on exception.

    The class is immutable and thread-safe.

    Since:
    0.1
    See Also:
    TkForward
    • Constructor Detail

      • TkForward

        public TkForward​(Take take)
        Ctor.
        Parameters:
        take - Original
    • Method Detail

      • act

        public Response act​(Request req)
                     throws Exception
        Description copied from interface: Take
        Convert request to response.
        Specified by:
        act in interface Take
        Parameters:
        req - Request to process
        Returns:
        Response
        Throws:
        Exception - If fails