classes.io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker08.class Maven / Gradle / Ivy
???? 21
E ?
G ? E ? E ? E ?
E ?
E ?
? ?
? ? ?
?
? ?
? ? ?
? ?
? ? E ? E ? ? ? ? ? ?
E ?
? ? ? ? ? ? ?
? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ?
E ?
E ?
? ? ? ? ? ? ? E ?
? ? ? ? ? ? ? ?
? ? ? ?
?
2 ?
? ?
? ? ?
? ? ? ? ?
> ? ? ?
? ? ?
E ?
@ ? ?
C ? ?
? ? ? logger /Lio/netty/util/internal/logging/InternalLogger;
MAGIC_GUID Ljava/lang/String;
ConstantValue expectedChallengeResponseString allowExtensions Z performMasking allowMaskMismatch ?(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;ZLio/netty/handler/codec/http/HttpHeaders;I)V Code LineNumberTable LocalVariableTable this DLio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker08; webSocketURL Ljava/net/URI; version 9Lio/netty/handler/codec/http/websocketx/WebSocketVersion; subprotocol
customHeaders )Lio/netty/handler/codec/http/HttpHeaders; maxFramePayloadLength I ?(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;ZLio/netty/handler/codec/http/HttpHeaders;IZZ)V newHandshakeRequest /()Lio/netty/handler/codec/http/FullHttpRequest; wsURL path nonce [B key
acceptSeed sha1 wsPort host request -Lio/netty/handler/codec/http/FullHttpRequest; headers expectedSubprotocol
StackMapTable ? ? ? h ? ? verify 1(Lio/netty/handler/codec/http/FullHttpResponse;)V response .Lio/netty/handler/codec/http/FullHttpResponse; status 0Lio/netty/handler/codec/http/HttpResponseStatus; upgrade Ljava/lang/CharSequence; accept ? ? newWebsocketDecoder @()Lio/netty/handler/codec/http/websocketx/WebSocketFrameDecoder; newWebSocketEncoder @()Lio/netty/handler/codec/http/websocketx/WebSocketFrameEncoder; ()V
SourceFile WebSocketClientHandshaker08.java R b R ? N O P O Q O ? ? ? ? ? ? ? ? ? java/lang/StringBuilder R ? ? ? $258EAFA5-E914-47DA-95CA-C5AB0DC85B11 ? ? ? ? ? ? ? ? k ? M K H I ? ? ? DWebSocket version 08 client handshake key: {}, expected response: {} ? ? ? ? ? ? 2io/netty/handler/codec/http/DefaultFullHttpRequest R ? p
? q ? ? 8 ^ _ ? ~ } Bio/netty/handler/codec/http/websocketx/WebSocketHandshakeException &Invalid handshake response getStatus: ? R !"#$% $Invalid handshake response upgrade: &' 'Invalid handshake response connection: ( +Invalid challenge. Actual: %s. Expected: %s java/lang/Object)* >io/netty/handler/codec/http/websocketx/WebSocket08FrameDecoder `+ R, >io/netty/handler/codec/http/websocketx/WebSocket08FrameEncoder R- Bio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker08./0 @io/netty/handler/codec/http/websocketx/WebSocketClientHandshaker java/net/URI java/lang/String +io/netty/handler/codec/http/FullHttpRequest 'io/netty/handler/codec/http/HttpHeaders .io/netty/handler/codec/http/HttpResponseStatus java/lang/CharSequence ?(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;Lio/netty/handler/codec/http/HttpHeaders;I)V uri ()Ljava/net/URI; rawPath "(Ljava/net/URI;)Ljava/lang/String; 4io/netty/handler/codec/http/websocketx/WebSocketUtil randomBytes (I)[B base64 ([B)Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; io/netty/util/CharsetUtil US_ASCII Ljava/nio/charset/Charset; getBytes (Ljava/nio/charset/Charset;)[B ([B)[B -io/netty/util/internal/logging/InternalLogger isDebugEnabled ()Z debug 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
websocketPort (Ljava/net/URI;)I getHost 'io/netty/handler/codec/http/HttpVersion HTTP_1_1 )Lio/netty/handler/codec/http/HttpVersion; &io/netty/handler/codec/http/HttpMethod GET (Lio/netty/handler/codec/http/HttpMethod; f(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpMethod;Ljava/lang/String;)V +()Lio/netty/handler/codec/http/HttpHeaders; +io/netty/handler/codec/http/HttpHeaderNames UPGRADE Lio/netty/util/AsciiString; ,io/netty/handler/codec/http/HttpHeaderValues WEBSOCKET add U(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;
CONNECTION SEC_WEBSOCKET_KEY HOST SEC_WEBSOCKET_ORIGIN websocketOriginValue -(Ljava/lang/String;I)Ljava/lang/CharSequence; isEmpty SEC_WEBSOCKET_PROTOCOL SEC_WEBSOCKET_VERSION T(Lio/netty/handler/codec/http/HttpHeaders;)Lio/netty/handler/codec/http/HttpHeaders; SWITCHING_PROTOCOLS ,io/netty/handler/codec/http/FullHttpResponse 2()Lio/netty/handler/codec/http/HttpResponseStatus; equals (Ljava/lang/Object;)Z -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (Ljava/lang/String;)V get ,(Ljava/lang/CharSequence;)Ljava/lang/String; io/netty/util/AsciiString contentEqualsIgnoreCase (Ljava/lang/CharSequence;)Z
containsValue 4(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z SEC_WEBSOCKET_ACCEPT format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; ()I (ZZIZ)V (Z)V 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger; ! E G H I J K L
M K N O P O Q O R S T z *+,-? ? U
G H V H W X Y Z [ \ ] K N O ^ _ ` a R b T ? *+,-? *? *? *? ? U e f g h i V \ W X Y Z [ \ ] K N O ^ _ ` a P O Q O c d T ' ?*? L+? M? N-? :?
Y? ?
? ? :? ? ? :*? ? ? ? ? ? *? ? +? 6+? :? Y? ? ,? : ? :
? ? ? ? !? "? ? #? ? $? ? %? &? W*? ':? ? (?
? )? W
? *+? W*? ,?
*? ,? -W ? U V ? ?
? ? ? , ? 9 ? B ? M ? ] ? c ? i ? y ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? V z ? W X ? e Z
? f K ? g h ? i K , ? j K 9 ? k h c ? l a i ? m K y x n o ? o p _
? 7 q K r H ? ] s t u v u u v ? t s t u v u u v u w x u y z T z ϲ .M+? / N+? 0 ,? 1? #? 2Y?
Y? 3? +? 0 ? 4? ? 5?-? ? 6:? ? 7? ? 2Y?
Y? 8? ? 4? ? 5?-? !? "? 9? $? 2Y?
Y? :? -? !? 6? ? ? 5?-? ;? 6:? *? ?