Class OK

    • Constructor Detail

      • OK

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

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

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

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