All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????2?@io/netty/handler/codec/http/websocketx/WebSocketClientHandshakerjava/lang/ObjectWebSocketClientHandshaker.javaBio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker$4Bio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker$3Bio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker$2
Bio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker$1CLOSED_CHANNEL_EXCEPTION*Ljava/nio/channels/ClosedChannelException;uriLjava/net/URI;version9Lio/netty/handler/codec/http/websocketx/WebSocketVersion;handshakeCompleteZexpectedSubprotocolLjava/lang/String;actualSubprotocol
customHeaders)Lio/netty/handler/codec/http/HttpHeaders;maxFramePayloadLengthI?(Ljava/net/URI;Lio/netty/handler/codec/http/websocketx/WebSocketVersion;Ljava/lang/String;Lio/netty/handler/codec/http/HttpHeaders;I)V()V
 	"	$	&	(	*thisBLio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;subprotocol()Ljava/net/URI;;()Lio/netty/handler/codec/http/websocketx/WebSocketVersion;()IisHandshakeComplete()Z	4setHandshakeComplete()Ljava/lang/String;	8setActualSubprotocol(Ljava/lang/String;)V	handshake<(Lio/netty/channel/Channel;)Lio/netty/channel/ChannelFuture;java/lang/NullPointerException>channel@;
?Bio/netty/channel/ChannelD
newPromise#()Lio/netty/channel/ChannelPromise;FGEH](Lio/netty/channel/Channel;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;<J
KLio/netty/channel/Channel;newHandshakeRequest/()Lio/netty/handler/codec/http/FullHttpRequest;NO
Ppipeline$()Lio/netty/channel/ChannelPipeline;RSET/io/netty/handler/codec/http/HttpResponseDecoderV io/netty/channel/ChannelPipelineXget4(Ljava/lang/Class;)Lio/netty/channel/ChannelHandler;Z[Y\+io/netty/handler/codec/http/HttpClientCodec^java/lang/IllegalStateException`IChannelPipeline does not contain a HttpResponseDecoder or HttpClientCodecb
aBio/netty/channel/ChannelPromisee
setFailure8(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise;ghfi+io/netty/handler/codec/http/FullHttpRequestk
writeAndFlush4(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;mnEof(Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;Lio/netty/channel/ChannelPromise;)Vq

rio/netty/channel/ChannelFuturetaddListenerR(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;vwuxcodec-Lio/netty/handler/codec/http/HttpClientCodec;promise!Lio/netty/channel/ChannelPromise;request-Lio/netty/handler/codec/http/FullHttpRequest;decoder1Lio/netty/handler/codec/http/HttpResponseDecoder;finishHandshakeK(Lio/netty/channel/Channel;Lio/netty/handler/codec/http/FullHttpResponse;)Vverify1(Lio/netty/handler/codec/http/FullHttpResponse;)V??
?,io/netty/handler/codec/http/FullHttpResponse?headers+()Lio/netty/handler/codec/http/HttpHeaders;????+io/netty/handler/codec/http/HttpHeaderNames?SEC_WEBSOCKET_PROTOCOLLio/netty/util/AsciiString;??	??'io/netty/handler/codec/http/HttpHeaders?,(Ljava/lang/CharSequence;)Ljava/lang/String;Z?
??java/lang/String?trim?7
???isEmpty?3
??:;
?,?split'(Ljava/lang/String;)[Ljava/lang/String;??
??[Ljava/lang/String;?equals(Ljava/lang/Object;)Z??
??Bio/netty/handler/codec/http/websocketx/WebSocketHandshakeException?4Invalid subprotocol. Actual: %s. Expected one of: %s?format9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
??
?B6
?3io/netty/handler/codec/http/HttpContentDecompressor?removeE(Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;??Y?0io/netty/handler/codec/http/HttpObjectAggregator?context;(Ljava/lang/Class;)Lio/netty/channel/ChannelHandlerContext;??Y?HChannelPipeline does not contain a HttpRequestEncoder or HttpClientCodec?&io/netty/channel/ChannelHandlerContext?handler#()Lio/netty/channel/ChannelHandler;????removeOutboundHandler?
_?name?7??
ws-decoder?newWebsocketDecoder@()Lio/netty/handler/codec/http/websocketx/WebSocketFrameDecoder;??
?addAfteri(Ljava/lang/String;Ljava/lang/String;Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline;??Y?	eventLoop()Lio/netty/channel/EventLoop;??E??(Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;Lio/netty/channel/ChannelPipeline;Lio/netty/handler/codec/http/HttpClientCodec;)V?
?io/netty/channel/EventLoop?execute(Ljava/lang/Runnable;)V????.io/netty/handler/codec/http/HttpRequestEncoder??[Y??(Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;Lio/netty/channel/ChannelPipeline;Lio/netty/channel/ChannelHandlerContext;)V?
	?protocol(Lio/netty/channel/ChannelHandlerContext;response.Lio/netty/handler/codec/http/FullHttpResponse;receivedProtocolexpectedProtocol
protocolValidp"Lio/netty/channel/ChannelPipeline;decompressor5Lio/netty/handler/codec/http/HttpContentDecompressor;
aggregator2Lio/netty/handler/codec/http/HttpObjectAggregator;ctxprocessHandshakef(Lio/netty/channel/Channel;Lio/netty/handler/codec/http/HttpResponse;)Lio/netty/channel/ChannelFuture;?(Lio/netty/channel/Channel;Lio/netty/handler/codec/http/HttpResponse;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
*Lio/netty/handler/codec/http/HttpResponse;java/lang/Throwable??


setSuccessGf
httpAggregator(I)V
?
handshaker?(Lio/netty/handler/codec/http/websocketx/WebSocketClientHandshaker;Lio/netty/channel/Channel;Lio/netty/channel/ChannelPromise;)V
 io/netty/util/ReferenceCountUtilretain&(Ljava/lang/Object;)Ljava/lang/Object;
fireChannelRead<(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; ?!(io/netty/handler/codec/http/HttpResponse#causeLjava/lang/Throwable;aggregatorNamenewWebSocketEncoder@()Lio/netty/handler/codec/http/websocketx/WebSocketFrameEncoder;closex(Lio/netty/channel/Channel;Lio/netty/handler/codec/http/websocketx/CloseWebSocketFrame;)Lio/netty/channel/ChannelFuture;?(Lio/netty/channel/Channel;Lio/netty/handler/codec/http/websocketx/CloseWebSocketFrame;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;*,
-frame
? append-(Ljava/lang/String;)Ljava/lang/StringBuilder;AB
?C(C)Ljava/lang/StringBuilder;AE
?FtoStringH7
?I/KwsURLpathquery
websocketPort(Ljava/net/URI;)IgetPortR1
7S6io/netty/handler/codec/http/websocketx/WebSocketSchemeUWSS8Lio/netty/handler/codec/http/websocketx/WebSocketScheme;WX	VY()Lio/netty/util/AsciiString;?[
V\	getScheme^7
7_io/netty/util/AsciiStringa
contentEquals(Ljava/lang/CharSequence;)Zcd
beportg1
VhWSjX	VkwsPortwebsocketHostValue((Ljava/net/URI;)Ljava/lang/CharSequence;getHostp7
7q&io/netty/handler/codec/http/HttpSchemesHTTP(Lio/netty/handler/codec/http/HttpScheme;uv	tw
th
t\io/netty/util/NetUtil{toSocketAddressString'(Ljava/lang/String;I)Ljava/lang/String;}~
|HTTPS?v	t?hostwebsocketOriginValue-(Ljava/lang/String;I)Ljava/lang/CharSequence;-(Ljava/lang/Object;)Ljava/lang/StringBuilder;A?
??://?originValue
access$000,()Ljava/nio/channels/ClosedChannelException;	?(java/nio/channels/ClosedChannelException?
? processHandshake(...)?$io/netty/util/internal/ThrowableUtil?unknownStackTraceO(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable;??
??CodeLocalVariableTableLineNumberTable
StackMapTable
SourceFileInnerClasses!BB?? *?!*+?#*,?%*-?'*?)*?+??> ,-   .  ?PQ	RSTUV/?/*?#??,-?\0?/*?%??,-?c1?/*?+??,-?j23?/*?5??,-?q6?4*?5??,-?
uv7?/*?'??,-?|7?/*?9??,-??:;?>*+?9??,-?
??<=?_+?
??YA?C?*++?I?L??,-@M?????<J??]*?QN+?UW?]?W:?,+?U_?]?_:?,?aYc?d?jW,?+-?p?
Y*,?s?yW,??>.z{],-]@M]|}X~F???&	????.?3?C?E?[???ElWNO???:?*,??,??????N-?
-???N*?'?
*?'??:6???-?6**?'???R???J-?F-???????:?66?'2:		??-???6*-???	???????Y??Y-SY*?'S?????*??+?U:??]??:?
??Wù]??:?
??WW??:		?]_??:		?
?aYɷd?	???_:

??	???*?۹?W+???Y*
????I?]?
??W	:

???*?۹?W+???	Y*
??????
??	:1z{
?,??
?,-?@M?????1??4???????????????	??)????1?4?@?C?N?a???????????????????????????????$.:
?Tknz???"?)?=??@?A????#?$? ?(Y????)??/?K
*+,+?I??? 
,-
@M
??6???,???$*+,???-?W??:-?jW??+?U:W??:?#_??:?-?aYc?d?j?:????Y ???W?Y*+-???W,??"W?:-?jW-?	???	?\		%&?	%&0???;v?eL'?,-?@M???|}?VGIJMKL%M(O0P;Q@RKSPT`\e]?^?z?}?{?|??2Z	
?7Y??EE$fY??	?
????()*+?j+?
??YA?C?*+,+?I?.?? ,-@M/0?????*,?p+?
??YA?C?+,-?3??*,-@M/0|}?????45??@*?:L*?=M,?",?????Y?@+?D??G,?D?JL+?
+???	L?+?? @M;N
6O???
??-???-??
@?PQ??,*?T<?#?Z?]*?`?f??Z?i?	?l?i???,M'm???
??)?*??	?#Eno??*?T<?*?r?*?rM?x?y?-?x?z*?`?f??l?]*?`?f?,?,??????y?-???z*?`?f??Z?]*?`?f?,?,???,???? ?M}gn??>??
????1?D?G?H?R?e?x?{?|??	??.?D?)D?????M??Y?@???y????z?	?x?z????D*?D?JM?x?y????y?	,???,?? M?Mm1????1?E?K??Z????b?*????????.??.??Y???????????/??"	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy