Class DefaultCorsHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CorsHandlerResult handle​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Handles the CORS processing of a request, possibly doing nothing.
      • Methods inherited from class java.lang.Object

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

      • handle

        public CorsHandlerResult handle​(javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response)
                                 throws java.io.IOException
        Description copied from interface: CorsHandler
        Handles the CORS processing of a request, possibly doing nothing. This method cannot return null.
        Specified by:
        handle in interface CorsHandler
        Returns:
        a CorsHandlerResult object.
        Throws:
        java.io.IOException