com.groupbyinc.flux.rest.RestStatus.class Maven / Gradle / Ivy
???? 4: #com/groupbyinc/flux/rest/RestStatus 7Ljava/lang/Enum; java/lang/Enum RestStatus.java CONTINUE %Lcom/groupbyinc/flux/rest/RestStatus; SWITCHING_PROTOCOLS OK CREATED ACCEPTED NON_AUTHORITATIVE_INFORMATION
NO_CONTENT
RESET_CONTENT PARTIAL_CONTENT MULTI_STATUS MULTIPLE_CHOICES MOVED_PERMANENTLY FOUND SEE_OTHER NOT_MODIFIED USE_PROXY TEMPORARY_REDIRECT BAD_REQUEST UNAUTHORIZED PAYMENT_REQUIRED FORBIDDEN NOT_FOUND METHOD_NOT_ALLOWED NOT_ACCEPTABLE PROXY_AUTHENTICATION REQUEST_TIMEOUT CONFLICT GONE LENGTH_REQUIRED PRECONDITION_FAILED REQUEST_ENTITY_TOO_LARGE REQUEST_URI_TOO_LONG UNSUPPORTED_MEDIA_TYPE REQUESTED_RANGE_NOT_SATISFIED EXPECTATION_FAILED UNPROCESSABLE_ENTITY LOCKED FAILED_DEPENDENCY TOO_MANY_REQUESTS INTERNAL_SERVER_ERROR NOT_IMPLEMENTED BAD_GATEWAY SERVICE_UNAVAILABLE GATEWAY_TIMEOUT HTTP_VERSION_NOT_SUPPORTED INSUFFICIENT_STORAGE CODE_TO_STATUS Ljava/util/Map; ILjava/util/Map; status I $VALUES &[Lcom/groupbyinc/flux/rest/RestStatus; values (()[Lcom/groupbyinc/flux/rest/RestStatus; ; < ? < clone ()Ljava/lang/Object; B C
A D valueOf 9(Ljava/lang/String;)Lcom/groupbyinc/flux/rest/RestStatus; 5(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum; F H
I name Ljava/lang/String; (Ljava/lang/String;II)V (Ljava/lang/String;I)V M O
P 9 : R this getStatus ()I readFrom Y(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/rest/RestStatus; java/io/IOException Y 0com/groupbyinc/flux/common/io/stream/StreamInput [
readString ()Ljava/lang/String; ] ^
\ _ F G
a in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo [(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;Lcom/groupbyinc/flux/rest/RestStatus;)V K ^
g 1com/groupbyinc/flux/common/io/stream/StreamOutput i writeString (Ljava/lang/String;)V k l
j m out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; d(II[Lcom/groupbyinc/flux/action/ShardOperationFailedException;)Lcom/groupbyinc/flux/rest/RestStatus; 2 r
t ;[Lcom/groupbyinc/flux/action/ShardOperationFailedException; v 8com/groupbyinc/flux/action/ShardOperationFailedException x '()Lcom/groupbyinc/flux/rest/RestStatus; 9 z y { U V
} shardStatus failure :Lcom/groupbyinc/flux/action/ShardOperationFailedException; successfulShards totalShards failures fromCode ((I)Lcom/groupbyinc/flux/rest/RestStatus; 6 7 ? java/lang/Integer ? (I)Ljava/lang/Integer; F ?
? ?
java/util/Map ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? code ()V M N
? ? ?
? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ! ! ? " " ? # # ? $ $ ? % % ? & &