Class CORSHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean handle​(MuRequest request, MuResponse response)
      Called when an HTTP request is made (unless a previous handler stopped handler processing)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • handle

        public boolean handle​(MuRequest request,
                              MuResponse response)
        Description copied from interface: MuHandler
        Called when an HTTP request is made (unless a previous handler stopped handler processing)
        Specified by:
        handle in interface MuHandler
        Parameters:
        request - The HTTP request.
        response - The HTTP response.
        Returns:
        Return false to continue processing the next handler (for example if writing a filter or inspector); or true to stop processing (normally done if this handler sent a response).