class RestAuthHttpCallbackHandler extends AbstractRestAuthCallbackHandler<HttpCallback> {

    public HttpCallback convertFromJson(HttpCallback callback, JsonValue jsonCallback) throws RestAuthException {
        throw new RestAuthException(ResourceException.BAD_REQUEST, new UnsupportedOperationException(
                "HttpCallback Authorization Header must be specified in the initial request. Cannot be converted from"
                        + " a JSON representation."));
    }

}