src/main/java/com/authlete/jaxrs/AuthorizationRequestHandler.java
public Response handle(MultivaluedMap<String, String> parameters) throws WebApplicationException
    {
        try
        {
            // Process the given parameters.
            return process(parameters);
        }
        catch (WebApplicationException e)
        {
            throw e;
        }
        catch (Throwable t)
        {
            // Unexpected error.
            throw unexpected("Unexpected error in AuthorizationRequestHandler", t);
        }
    }
public Response handle(MultivaluedMap<String, String> parameters) throws WebApplicationException
    {
        try
        {
            // Process the given parameters.
            return process(parameters);
        }
        catch (WebApplicationException e)
        {
            throw e;
        }
        catch (Throwable t)
        {
            // Unexpected error.
            throw unexpected("Unexpected error in AuthorizationRequestHandler", t);
        }
    }
Handle an authorization request to a <a href=
"https://tools.ietf.org/html/rfc6749#section-3.1">authorization endpoint</a>
of OAuth 2.0 (<a href="https://tools.ietf.org/html/rfc6749">RFC 6749</a>).

@param parameters
Request parameters of an authorization request.

@return
A response that should be returned from the endpoint to the
client application.

@throws WebApplicationException
An error occurred.