Class TkSecure

  • All Implemented Interfaces:
    Take

    public final class TkSecure
    extends Object
    implements Take
    Take available for authenticated users.

    The class is immutable and thread-safe.

    Since:
    0.1
    • Constructor Detail

      • TkSecure

        public TkSecure​(Take take)
        Ctor.
        Parameters:
        take - Original
        Since:
        0.10
      • TkSecure

        public TkSecure​(Take take,
                        String location)
        Ctor.
        Parameters:
        take - Original
        location - Where to forward
    • Method Detail

      • act

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