com.github.kubatatami.judonetworking.controllers.raw.RawController.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of judonetworking-base Show documentation
Show all versions of judonetworking-base Show documentation
Easy way of communicating to your servers.
???? 2 ?
( i ' j ' k
' l m n o
p q r m s
' t
u v w x
i
y
z
{
| } ~
? ?
? ?
? ?
?
?
? ? ? ?
" ?
? ?
% ? ? ? ApiKey InnerClasses apiKey Ljava/lang/String;
apiKeyName ()V Code LineNumberTable LocalVariableTable this DLcom/github/kubatatami/judonetworking/controllers/raw/RawController; setApiKey '(Ljava/lang/String;Ljava/lang/String;)V name key (Ljava/lang/String;)V
createRequest ? RequestInfo ?(Ljava/lang/String;Lcom/github/kubatatami/judonetworking/RequestInterface;)Lcom/github/kubatatami/judonetworking/ProtocolController$RequestInfo;
Exceptions
parseResponse ?(Lcom/github/kubatatami/judonetworking/RequestInterface;Ljava/io/InputStream;Ljava/util/Map;)Lcom/github/kubatatami/judonetworking/RequestResult; request 7Lcom/github/kubatatami/judonetworking/RequestInterface; stream Ljava/io/InputStream; headers Ljava/util/Map; LocalVariableTypeTable GLjava/util/Map;>; Signature ?(Lcom/github/kubatatami/judonetworking/RequestInterface;Ljava/io/InputStream;Ljava/util/Map;>;)Lcom/github/kubatatami/judonetworking/RequestResult; ?(Lcom/github/kubatatami/judonetworking/RequestInterface;Ljava/io/InputStream;)Lcom/github/kubatatami/judonetworking/RequestResult; e Ljava/lang/Exception; buffer Ljava/io/ByteArrayOutputStream; nRead I data [B
StackMapTable x S ? v } convertStreamToString )(Ljava/io/InputStream;)Ljava/lang/String; is s Ljava/util/Scanner; ? o
parseError (ILjava/lang/String;)V code resp getAdditionalRequestData ()Ljava/lang/Object;
SourceFile RawController.java . / + , - , ? K ? ? ? java/lang/String ? ? ? 9com/github/kubatatami/judonetworking/RequestSuccessResult ? ? Z [ . ? java/io/InputStream [Ljava/lang/Byte; java/io/ByteArrayOutputStream ? ? ? ? ? / ? ? java/lang/Exception 0com/github/kubatatami/judonetworking/ErrorResult . ? 5com/github/kubatatami/judonetworking/RequestException FRawController handle string, byte array or input stream response only. . 9 java/util/Scanner . ? \A ? ? ? ? ? ? TServer response: Method Not Allowed. Did you select the correct protocol controller? 2com/github/kubatatami/judonetworking/HttpException . ? . ? Icom/github/kubatatami/judonetworking/controllers/raw/RawController$ApiKey . 6 Bcom/github/kubatatami/judonetworking/controllers/raw/RawController 7com/github/kubatatami/judonetworking/ProtocolController Ccom/github/kubatatami/judonetworking/ProtocolController$RequestInfo 5com/github/kubatatami/judonetworking/RequestInterface
getReturnType ()Ljava/lang/reflect/Type; java/lang/Object equals (Ljava/lang/Object;)Z getId ()Ljava/lang/Integer; ((Ljava/lang/Integer;Ljava/lang/Object;)V read ([BII)I write ([BII)V flush toByteArray ()[B +(Ljava/lang/Integer;Ljava/lang/Exception;)V (Ljava/io/InputStream;)V useDelimiter '(Ljava/lang/String;)Ljava/util/Scanner; hasNext ()Z next ()Ljava/lang/String; (Ljava/lang/String;I)V *(Ljava/lang/String;Ljava/lang/Exception;)V! ' ( + , - , . / 0 E *? *? *? ? 1 R 2 3 4 5 6 0 Q *+? *,? ? 1
2 3 4 7 , 8 , 5 9 0 > *+? ? 1
2 3 4 8 , : = > ? @ 0 ` +,? ? 1 &