Interface RejectionHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> reject​(io.micronaut.http.HttpRequest<?> request, boolean forbidden)  
    • Method Detail

      • reject

        org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> reject​(io.micronaut.http.HttpRequest<?> request,
                                                                                       boolean forbidden)
        Parameters:
        request - HttpRequest being processed
        forbidden - if true indicates that although the user was authenticated he did not had the necessary access privileges.
        Returns:
        Return a HTTP Response