Class ApplicationHelper

    • Constructor Detail

      • ApplicationHelper

        public ApplicationHelper​(Application application)
        Constructor.
        Parameters:
        application - The application to help.
    • Method Detail

      • handle

        public void handle​(Request request,
                           Response response)
        In addition to the default behavior, it saves the current application instance into the current thread.
        Overrides:
        handle in class CompositeHelper<Application>
        Parameters:
        request - The request to handle.
        response - The response to update.
      • setContext

        public void setContext​(Context context)
        Sets the context.
        Parameters:
        context - The context.
      • start

        public void start()
                   throws java.lang.Exception
        Start hook.
        Specified by:
        start in class RestletHelper<Application>
        Throws:
        java.lang.Exception