Class Response

    • Constructor Detail

      • Response

        public Response​(org.springframework.http.HttpStatus status)
        Constructs a new Response.
        Parameters:
        status - the HTTP status that should be returned for the OAuth2 response
    • Method Detail

      • getBody

        public abstract String getBody()
        Returns the body for the OAuth2 response.
        Returns:
        the body for the OAuth2 response
      • getStatus

        public org.springframework.http.HttpStatus getStatus()
        Returns the HTTP status that should be returned for the OAuth2 response.
        Returns:
        the HTTP status that should be returned for the OAuth2 response