com.huawei.shade.org.apache.http.protocol.UriHttpRequestHandlerMapper.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huaweicloud-dws-jdbc Show documentation
Show all versions of huaweicloud-dws-jdbc Show documentation
Data Warehouse Service JDBC driver
???? 2 g Ecom/huawei/shade/org/apache/http/protocol/UriHttpRequestHandlerMapper java/lang/Object Bcom/huawei/shade/org/apache/http/protocol/HttpRequestHandlerMapper UriHttpRequestHandlerMapper.java 6Lcom/huawei/shade/org/apache/http/annotation/Contract; threading ?Lcom/huawei/shade/org/apache/http/annotation/ThreadingBehavior; SAFE matcher =Lcom/huawei/shade/org/apache/http/protocol/UriPatternMatcher; }Lcom/huawei/shade/org/apache/http/protocol/UriPatternMatcher; @(Lcom/huawei/shade/org/apache/http/protocol/UriPatternMatcher;)V ()V
Pattern matcher *com/huawei/shade/org/apache/http/util/Args notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
;com/huawei/shade/org/apache/http/protocol/UriPatternMatcher
this GLcom/huawei/shade/org/apache/http/protocol/UriHttpRequestHandlerMapper;
# register S(Ljava/lang/String;Lcom/huawei/shade/org/apache/http/protocol/HttpRequestHandler;)V Pattern ' Handler ) '(Ljava/lang/String;Ljava/lang/Object;)V % +
, pattern Ljava/lang/String; handler >Lcom/huawei/shade/org/apache/http/protocol/HttpRequestHandler;
unregister (Ljava/lang/String;)V 2 3
4 getRequestPath B(Lcom/huawei/shade/org/apache/http/HttpRequest;)Ljava/lang/String; ,com/huawei/shade/org/apache/http/HttpRequest 8 getRequestLine 0()Lcom/huawei/shade/org/apache/http/RequestLine; : ; 9 < ,com/huawei/shade/org/apache/http/RequestLine > getUri ()Ljava/lang/String; @ A ? B java/lang/String D indexOf (I)I F G
E H substring (II)Ljava/lang/String; J K
E L request .Lcom/huawei/shade/org/apache/http/HttpRequest; uriPath index I lookup n(Lcom/huawei/shade/org/apache/http/HttpRequest;)Lcom/huawei/shade/org/apache/http/protocol/HttpRequestHandler; HTTP request U 6 7
W &(Ljava/lang/String;)Ljava/lang/Object; S Y
Z