Class RootPathDispatcher

  • All Implemented Interfaces:

    public class RootPathDispatcher
    extends java.lang.Object
    implements Dispatcher
    Recognizes a request for the application root (i.e., "/") and handles this the same as a render request for the "Start" page. Support for the Start page is kept for legacy purposes, Index pages are the correct approach.
    • Method Detail

      • dispatch

        public boolean dispatch​(Request request,
                                Response response)
        Description copied from interface: Dispatcher
        Analyzes the incoming request and performs an appropriate operation for each.
        Specified by:
        dispatch in interface Dispatcher
        true if a response was delivered, false if the dispatcher did not handle the request (and a search for a handler should continue)