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