Class Unauthorized

    • Field Detail

    • Constructor Detail

      • Unauthorized

        public Unauthorized()
        Create a 'Unauthorized' HTTP Response.
      • Unauthorized

        public Unauthorized​(Throwable t)
        Create a 'Unauthorized' HTTP Response with an underlying cause.
        Parameters:
        t - underlying cause
      • Unauthorized

        public Unauthorized​(String m)
        Create a 'Unauthorized' HTTP Response with a custom message in the body.
        Parameters:
        m - custom response message
      • Unauthorized

        public Unauthorized​(String m,
                            Throwable t)
        Create a 'Unauthorized' HTTP Response with a custom message in the body and an underlying cause.
        Parameters:
        m - custom response message
        t - underlying cause