org.apache.cayenne.rop.HttpClientConnection.class Maven / Gradle / Ivy
???? 4 ?
* _ ) ` ) a ) b
) c d e f g
h i
j
) k d l
m n d o d p ) q r s r t u
_ v
w
x y
z {
| r }
~
~ ?
? ?
? ? ?
~ ?
~ ?
~ ? " ? ? ? ? ?
remoteService )Lorg/apache/cayenne/remote/RemoteService; session )Lorg/apache/cayenne/remote/RemoteSession; sharedSessionName Ljava/lang/String; >(Lorg/apache/cayenne/remote/RemoteService;Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this -Lorg/apache/cayenne/rop/HttpClientConnection;
sharedSession
getSession +()Lorg/apache/cayenne/remote/RemoteSession; beforeSendMessage ,(Lorg/apache/cayenne/remote/ClientMessage;)V message )Lorg/apache/cayenne/remote/ClientMessage;
StackMapTable
Exceptions
doSendMessage =(Lorg/apache/cayenne/remote/ClientMessage;)Ljava/lang/Object; e ,Lorg/apache/cayenne/CayenneRuntimeException; th Ljava/lang/Throwable; f g getServerEventBridge (()Lorg/apache/cayenne/event/EventBridge; shutdown ()V ? RuntimeVisibleAnnotations &Lorg/apache/cayenne/di/BeforeScopeEnd; connect time J t0 ? ? createServerEventBridge Q(Lorg/apache/cayenne/remote/RemoteSession;)Lorg/apache/cayenne/event/EventBridge; factory -Lorg/apache/cayenne/event/EventBridgeFactory; ex Ljava/lang/Exception; ?
SourceFile HttpClientConnection.java 1 L + , / 0 - . P L ? ? B *org/apache/cayenne/CayenneRuntimeException java/lang/Throwable ? ? java/lang/Object 1 ? V W ? L ? ? ? ? ? ? : ? ? ? ? ? ? ? java/lang/StringBuilder === Connected, session: ? ? ? ? - took ? ? ms. ? ? ? ? ? ? ? ? ? ? ? ? ? ? +org/apache/cayenne/event/EventBridgeFactory ? ? ? ? ? ? ? ? java/lang/Exception Error creating EventBridge. +org/apache/cayenne/rop/HttpClientConnection (org/apache/cayenne/remote/BaseConnection java/rmi/RemoteException 'org/apache/cayenne/remote/RemoteSession 'org/apache/cayenne/remote/RemoteService processMessage
getMessage ()Ljava/lang/String; =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V close java/lang/System currentTimeMillis ()J establishSharedSession =(Ljava/lang/String;)Lorg/apache/cayenne/remote/RemoteSession; establishSession logger Lorg/slf4j/Logger; org/slf4j/Logger info *(Ljava/lang/String;Ljava/lang/Throwable;)V
isInfoEnabled ()Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (J)Ljava/lang/StringBuilder; toString (Ljava/lang/String;)V isServerEventsEnabled getEventBridgeFactory java/lang/Class forName %(Ljava/lang/String;)Ljava/lang/Class; newInstance ()Ljava/lang/Object; getSubjects ()Ljava/util/Collection; getName getEventBridgeParameters ()Ljava/util/Map; createEventBridge _(Ljava/util/Collection;Ljava/lang/String;Ljava/util/Map;)Lorg/apache/cayenne/event/EventBridge; ! ) * + , - . / 0 1 2 3 Y *? *+? *,? ? 4 ' ( ) * 5 6 7 + , 8 0 9 : 3 / *? ? 4 - 5 6 7 ; <