com.groupbyinc.flux.common.http.protocol.HttpService.class Maven / Gradle / Ivy
???? 2: 4com/groupbyinc/flux/common/http/protocol/HttpService java/lang/Object HttpService.java 5Lcom/groupbyinc/flux/common/http/annotation/Contract; threading >Lcom/groupbyinc/flux/common/http/annotation/ThreadingBehavior; IMMUTABLE_CONDITIONAL Vcom/groupbyinc/flux/common/http/protocol/HttpService$HttpRequestHandlerResolverAdapter
!HttpRequestHandlerResolverAdapter params 3Lcom/groupbyinc/flux/common/http/params/HttpParams; processor 8Lcom/groupbyinc/flux/common/http/protocol/HttpProcessor;
handlerMapper CLcom/groupbyinc/flux/common/http/protocol/HttpRequestHandlerMapper; connStrategy 9Lcom/groupbyinc/flux/common/http/ConnectionReuseStrategy; responseFactory 5Lcom/groupbyinc/flux/common/http/HttpResponseFactory; expectationVerifier BLcom/groupbyinc/flux/common/http/protocol/HttpExpectationVerifier; c(Lcom/groupbyinc/flux/common/http/protocol/HttpProcessor;Lcom/groupbyinc/flux/common/http/ConnectionReuseStrategy;Lcom/groupbyinc/flux/common/http/HttpResponseFactory;Lcom/groupbyinc/flux/common/http/protocol/HttpRequestHandlerResolver;Lcom/groupbyinc/flux/common/http/protocol/HttpExpectationVerifier;Lcom/groupbyinc/flux/common/http/params/HttpParams;)V Ljava/lang/Deprecated; H(Lcom/groupbyinc/flux/common/http/protocol/HttpRequestHandlerResolver;)V
.(Lcom/groupbyinc/flux/common/http/protocol/HttpProcessor;Lcom/groupbyinc/flux/common/http/ConnectionReuseStrategy;Lcom/groupbyinc/flux/common/http/HttpResponseFactory;Lcom/groupbyinc/flux/common/http/protocol/HttpRequestHandlerMapper;Lcom/groupbyinc/flux/common/http/protocol/HttpExpectationVerifier;)V
" this 6Lcom/groupbyinc/flux/common/http/protocol/HttpService; handlerResolver ELcom/groupbyinc/flux/common/http/protocol/HttpRequestHandlerResolver;!(Lcom/groupbyinc/flux/common/http/protocol/HttpProcessor;Lcom/groupbyinc/flux/common/http/ConnectionReuseStrategy;Lcom/groupbyinc/flux/common/http/HttpResponseFactory;Lcom/groupbyinc/flux/common/http/protocol/HttpRequestHandlerResolver;Lcom/groupbyinc/flux/common/http/params/HttpParams;)V ?(Lcom/groupbyinc/flux/common/http/protocol/HttpProcessor;Lcom/groupbyinc/flux/common/http/ConnectionReuseStrategy;Lcom/groupbyinc/flux/common/http/HttpResponseFactory;)V ()V *
+ - / 1 3 5 setHttpProcessor ;(Lcom/groupbyinc/flux/common/http/protocol/HttpProcessor;)V 7 8
9 setConnReuseStrategy <(Lcom/groupbyinc/flux/common/http/ConnectionReuseStrategy;)V ; <
= setResponseFactory 8(Lcom/groupbyinc/flux/common/http/HttpResponseFactory;)V ? @
A proc HTTP processor D )com/groupbyinc/flux/common/http/util/Args F notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; H I
G J 6com/groupbyinc/flux/common/http/protocol/HttpProcessor L 7com/groupbyinc/flux/common/http/ConnectionReuseStrategy N 3com/groupbyinc/flux/common/http/HttpResponseFactory P Acom/groupbyinc/flux/common/http/protocol/HttpRequestHandlerMapper R @com/groupbyinc/flux/common/http/protocol/HttpExpectationVerifier T Ccom/groupbyinc/flux/common/http/impl/DefaultConnectionReuseStrategy V INSTANCE ELcom/groupbyinc/flux/common/http/impl/DefaultConnectionReuseStrategy; X Y W Z ?com/groupbyinc/flux/common/http/impl/DefaultHttpResponseFactory \ ALcom/groupbyinc/flux/common/http/impl/DefaultHttpResponseFactory; X ^ ] _ ?(Lcom/groupbyinc/flux/common/http/protocol/HttpProcessor;Lcom/groupbyinc/flux/common/http/ConnectionReuseStrategy;Lcom/groupbyinc/flux/common/http/HttpResponseFactory;Lcom/groupbyinc/flux/common/http/protocol/HttpRequestHandlerMapper;)V ~(Lcom/groupbyinc/flux/common/http/protocol/HttpProcessor;Lcom/groupbyinc/flux/common/http/protocol/HttpRequestHandlerMapper;)V Connection reuse strategy c Response factory e setParams 6(Lcom/groupbyinc/flux/common/http/params/HttpParams;)V setHandlerResolver setExpectationVerifier E(Lcom/groupbyinc/flux/common/http/protocol/HttpExpectationVerifier;)V getParams 5()Lcom/groupbyinc/flux/common/http/params/HttpParams;
handleRequest o(Lcom/groupbyinc/flux/common/http/HttpServerConnection;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)V java/io/IOException p -com/groupbyinc/flux/common/http/HttpException r http.connection t 4com/groupbyinc/flux/common/http/protocol/HttpContext v setAttribute '(Ljava/lang/String;Ljava/lang/Object;)V x y w z 4com/groupbyinc/flux/common/http/HttpServerConnection | receiveRequestHeader /()Lcom/groupbyinc/flux/common/http/HttpRequest; ~ } ? :com/groupbyinc/flux/common/http/HttpEntityEnclosingRequest ? expectContinue ()Z ? ? ? ? +com/groupbyinc/flux/common/http/HttpVersion ? HTTP_1_1 -Lcom/groupbyinc/flux/common/http/HttpVersion; ? ? ? ? newHttpResponse ?(Lcom/groupbyinc/flux/common/http/ProtocolVersion;ILcom/groupbyinc/flux/common/http/protocol/HttpContext;)Lcom/groupbyinc/flux/common/http/HttpResponse; ? ? Q ? verify ?(Lcom/groupbyinc/flux/common/http/HttpRequest;Lcom/groupbyinc/flux/common/http/HttpResponse;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)V ? ? U ? +com/groupbyinc/flux/common/http/HttpRequest ? ,com/groupbyinc/flux/common/http/HttpResponse ? HTTP_1_0 ? ? ? ? handleException `(Lcom/groupbyinc/flux/common/http/HttpException;Lcom/groupbyinc/flux/common/http/HttpResponse;)V ? ?
?
getStatusLine .()Lcom/groupbyinc/flux/common/http/StatusLine; ? ? ? ? *com/groupbyinc/flux/common/http/StatusLine ?
getStatusCode ()I ? ? ? ? sendResponseHeader 1(Lcom/groupbyinc/flux/common/http/HttpResponse;)V ? ? } ? flush ? * } ? receiveRequestEntity ?(Lcom/groupbyinc/flux/common/http/HttpEntityEnclosingRequest;)V ? ? } ? http.request ? process f(Lcom/groupbyinc/flux/common/http/HttpRequest;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)V ? ? M ? doService ? ?
? getEntity .()Lcom/groupbyinc/flux/common/http/HttpEntity; ? ? ? ? 0com/groupbyinc/flux/common/http/util/EntityUtils ? consume /(Lcom/groupbyinc/flux/common/http/HttpEntity;)V ? ?
? ?
http.response ? g(Lcom/groupbyinc/flux/common/http/HttpResponse;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)V ? ? M ? canResponseHaveBody ^(Lcom/groupbyinc/flux/common/http/HttpRequest;Lcom/groupbyinc/flux/common/http/HttpResponse;)Z ? ?
? sendResponseEntity ? ? } ? keepAlive g(Lcom/groupbyinc/flux/common/http/HttpResponse;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)Z ? ? O ? close ? * } ? ex /Lcom/groupbyinc/flux/common/http/HttpException; entity ,Lcom/groupbyinc/flux/common/http/HttpEntity; conn 6Lcom/groupbyinc/flux/common/http/HttpServerConnection; context 6Lcom/groupbyinc/flux/common/http/protocol/HttpContext; request -Lcom/groupbyinc/flux/common/http/HttpRequest; response .Lcom/groupbyinc/flux/common/http/HttpResponse; HEAD ? getRequestLine /()Lcom/groupbyinc/flux/common/http/RequestLine; ? ? ? ? +com/groupbyinc/flux/common/http/RequestLine ? getMethod ()Ljava/lang/String; ? ? ? ? java/lang/String ? equalsIgnoreCase (Ljava/lang/String;)Z ? ?
? ? status I ;com/groupbyinc/flux/common/http/MethodNotSupportedException ?
setStatusCode (I)V ? ? ? ?com/groupbyinc/flux/common/http/UnsupportedHttpVersionException 1com/groupbyinc/flux/common/http/ProtocolException
getMessage ?
s toString ?
s
2com/groupbyinc/flux/common/http/util/EncodingUtils
getAsciiBytes (Ljava/lang/String;)[B
6com/groupbyinc/flux/common/http/entity/ByteArrayEntity ([B)V
text/plain; charset=US-ASCII setContentType (Ljava/lang/String;)V
setEntity ? ? message Ljava/lang/String; msg [B 8Lcom/groupbyinc/flux/common/http/entity/ByteArrayEntity; lookup l(Lcom/groupbyinc/flux/common/http/HttpRequest;)Lcom/groupbyinc/flux/common/http/protocol/HttpRequestHandler;%& S' ;com/groupbyinc/flux/common/http/protocol/HttpRequestHandler) handle+ ?*, handler =Lcom/groupbyinc/flux/common/http/protocol/HttpRequestHandler; Code LocalVariableTable LineNumberTable
Deprecated RuntimeVisibleAnnotations
StackMapTable
Exceptions
SourceFile InnerClasses RuntimeInvisibleAnnotations ! B
B B B B B 0 ? *+,-? Y? ? !*? #? 1 H $ % &