![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker08.class Maven / Gradle / Ivy
The newest version!
???? 2C ? '
?
?
? ? ? ?
?
? ?
? ? ?
?
? ? ?
? ? ?
? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ?
? ? ? ?
? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ?
? ? ?
? ?
?
?
? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ?
?
8 ?
? ?
? ? ?
? ? ? ? ?
D ? ? ?
? ? ?
?
F ? ?
I ?
?
?
? ? 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 ?(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;ZLio/netty/handler/codec/http/HttpHeaders;IZZJ)V forceCloseTimeoutMillis J ?(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;ZLio/netty/handler/codec/http/HttpHeaders;IZZJZ)V absoluteUpgradeUrl newHandshakeRequest /()Lio/netty/handler/codec/http/FullHttpRequest; wsURL nonce [B key
acceptSeed sha1 request -Lio/netty/handler/codec/http/FullHttpRequest; headers expectedSubprotocol
StackMapTable ? ? r ? ? ? 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; setForceCloseTimeoutMillis G(J)Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker08; E(J)Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker; ()V
SourceFile WebSocketClientHandshaker08.java @io/netty/handler/codec/http/websocketx/WebSocketClientHandshaker X i X l X ? T U V U W U ? ? ? ? ? ? ? java/lang/StringBuilder X ? ? ? Bio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker08 $258EAFA5-E914-47DA-95CA-C5AB0DC85B11 ? ? ? u S Q N O DWebSocket version 08 client handshake key: {}, expected response: {}
2io/netty/handler/codec/http/DefaultFullHttpRequest
X ? x d e ? !"#$%&'()% y ?*+, 8 ?- ?. ?/01 Bio/netty/handler/codec/http/websocketx/WebSocketHandshakeException &Invalid handshake response getStatus: ?2 X34567( $Invalid handshake response upgrade: 89 'Invalid handshake response connection: : +Invalid challenge. Actual: %s. Expected: %s java/lang/Object;< >io/netty/handler/codec/http/websocketx/WebSocket08FrameDecoder f= X> >io/netty/handler/codec/http/websocketx/WebSocket08FrameEncoder X? ? ? ? ?@AB 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;IJZ)V uri ()Ljava/net/URI; 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 '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;
upgradeUrl "(Ljava/net/URI;)Ljava/lang/String; io/netty/buffer/Unpooled EMPTY_BUFFER Lio/netty/buffer/ByteBuf; (Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpMethod;Ljava/lang/String;Lio/netty/buffer/ByteBuf;)V +()Lio/netty/handler/codec/http/HttpHeaders; add T(Lio/netty/handler/codec/http/HttpHeaders;)Lio/netty/handler/codec/http/HttpHeaders; +io/netty/handler/codec/http/HttpHeaderNames UPGRADE Lio/netty/util/AsciiString; ,io/netty/handler/codec/http/HttpHeaderValues WEBSOCKET set 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 contains (Ljava/lang/CharSequence;)Z websocketOriginValue isEmpty SEC_WEBSOCKET_PROTOCOL SEC_WEBSOCKET_VERSION 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
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; ! N O P Q R S Q T U V U W U X Y Z } *+,- ? ? [
H J \ H ] ^ _ ` a b c Q T U d e f g X h Z ? *+,- ? ? [
g i \ \ ] ^ _ ` a b c Q T U d e f g V U W U X i Z ? *+,- ? ? [
? ? \ f
] ^ _ ` a b c Q T U d e f g V U W U j k X l Z ? "*+,- ? *? *? *? ? [ ? ? ? ? ! ? \ p " ] ^ " _ ` " a b " c Q " T U " d e " f g " V U " W U " j k " m U n o Z ? ?*?
L? M,? N?
Y? -? ? ? :? ? ? :*? ? ? ? ? ? -*? ? ? Y? ? *+? ? ? :? ! :*? "?
*? "? #W? $? %? &? '? (? &? )-? &? *+? +? &W? ,? -? ? ,+? .? &W*? /:? ? 0? ? 1? &W? 23? &W? [ ^ ? ? ? ? % ? 2 ? ; ? F ? U ? l ? u ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? \ \ ? ] ^ ? p ` ? q r ? s Q % ? t Q 2 ? u r l ? v w u { x e ? &