org.dmfs.oauth2.client.http.responsehandlers.TokenResponseHandler.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oauth2-essentials Show documentation
Show all versions of oauth2-essentials Show documentation
An OAuth2 client implementation based on http-client-essentials.
???? 3 d
4 5 6 7 8 9 :
; < = >
? @
A B C
A
D E F
A
G H I
J
K L M N
O P Q APPLICATION_JSON )Lorg/dmfs/httpessentials/types/MediaType; mScope $Lorg/dmfs/oauth2/client/OAuth2Scope; '(Lorg/dmfs/oauth2/client/OAuth2Scope;)V Code handleResponse Y(Lorg/dmfs/httpessentials/client/HttpResponse;)Lorg/dmfs/oauth2/client/OAuth2AccessToken;
StackMapTable P R S H
Exceptions T U A(Lorg/dmfs/httpessentials/client/HttpResponse;)Ljava/lang/Object; ()V Signature rLjava/lang/Object;Lorg/dmfs/httpessentials/client/HttpResponseHandler; " 1 ! R V W X Y Z [ \ 4org/dmfs/httpessentials/exceptions/ProtocolException ,Illegal response content-type %s, exected %s java/lang/Object S ] ^ " _ >org/dmfs/httpessentials/responsehandlers/StringResponseHandler UTF-8 % ` -org/dmfs/oauth2/client/tokens/JsonAccessToken org/json/JSONObject " a org/json/JSONException Can't decode JSON response %s " b % & 1org/dmfs/httpessentials/types/StructuredMediaType application json " c Aorg/dmfs/oauth2/client/http/responsehandlers/TokenResponseHandler 2org/dmfs/httpessentials/client/HttpResponseHandler +org/dmfs/httpessentials/client/HttpResponse java/lang/String java/io/IOException 0org/dmfs/httpessentials/exceptions/ProtocolError responseEntity 5()Lorg/dmfs/httpessentials/client/HttpResponseEntity; 1org/dmfs/httpessentials/client/HttpResponseEntity contentType +()Lorg/dmfs/httpessentials/types/MediaType; equals (Ljava/lang/Object;)Z format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; (Ljava/lang/String;)V A(Lorg/dmfs/httpessentials/client/HttpResponse;)Ljava/lang/String; <(Lorg/json/JSONObject;Lorg/dmfs/oauth2/client/OAuth2Scope;)V *(Ljava/lang/String;Ljava/lang/Throwable;)V '(Ljava/lang/String;Ljava/lang/String;)V 1 ! " # $
*? *+? ? % &