
com.google.gwt.rpc.server.RpcServlet.class Maven / Gradle / Ivy
???? 1
i ? ?
? e ?
e ? ? ?
?
e ? ? ? ? ? ? ?
? ? ?
I ?
e ? ? ?
?
e ?
? ? ? ? ?
? ?
?
?
?
? ? ? e ? ? ?
# ? ? ?
? ?
? ?
e ?
? ?
? ?
? ? ? ?
. ? ? ?
e ?
? ?
e ?
e ? e ? ? ?
? ? ? ? ? ? ? ? ?
> ?
? ?
e ?
? ? ? ? ?
C ?
e ?
? ?
> ? ?
I ?
? ?
e ?
e
?
e
U ?
U
I
I
I
?
CLIENT_ORACLE_EXTENSION Ljava/lang/String;
ConstantValue DUMP_PAYLOAD Z clientOracleCache Ljava/util/Map; Signature jLjava/util/Map;>; $assertionsDisabled ()V Code LineNumberTable LocalVariableTable this &Lcom/google/gwt/rpc/server/RpcServlet; getClientOracle *()Lcom/google/gwt/rpc/server/ClientOracle; toReturn (Lcom/google/gwt/rpc/server/ClientOracle; e Ljava/io/IOException; in Ljava/io/InputStream; permutationStrongName basePath
Exceptions processCall S(Lcom/google/gwt/rpc/server/ClientOracle;Ljava/lang/String;Ljava/io/OutputStream;)V
rpcRequest +Lcom/google/gwt/user/server/rpc/RPCRequest; ex 0Lcom/google/gwt/rpc/client/impl/RemoteException; CLcom/google/gwt/user/client/rpc/IncompatibleRemoteServiceException; clientOracle payload stream Ljava/io/OutputStream; processPost R(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V out bytes [B request 'Ljavax/servlet/http/HttpServletRequest; response (Ljavax/servlet/http/HttpServletResponse; requestPayload allowHostedModeConnections ()Z findClientOracleData ;(Ljava/lang/String;Ljava/lang/String;)Ljava/io/InputStream; requestModuleBasePath resourcePath getRequestModuleBasePath ()Ljava/lang/String; header path contextPath Ljava/net/MalformedURLException; shouldCompressResponse R(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Z isRequestFromLocalAddress addr Ljava/net/InetAddress; Ljava/net/UnknownHostException;
SourceFile RpcServlet.java t u java/util/HashMap o p ? java/lang/SecurityException =Blocked request without GWT permutation header (XSRF attack?) t! ? ? ;Blocked request without GWT base path header (XSRF attack?)"#$%& java/lang/ref/SoftReference%' &com/google/gwt/rpc/server/ClientOracle
HostedMode($ ? ? Blocked hosted mode request 0com/google/gwt/rpc/server/HostedModeClientOracle ? ?)*+ java/io/IOException 5com/google/gwt/user/client/rpc/SerializationException java/lang/StringBuilder 4Could not load serialization policy for permutation ,-. ? t/ t012 s n java/lang/AssertionError3456789:;<=>?@A .com/google/gwt/rpc/client/impl/RemoteException %An exception was sent from the clientBC Acom/google/gwt/user/client/rpc/IncompatibleRemoteServiceException LAn IncompatibleRemoteServiceException was thrown while processing this call.D/EF { |GH m nI ?JKL! application/jsonMN! UTF-8O! java/io/ByteArrayOutputStreamPQR ? ?ST java/util/zip/GZIPOutputStreamUV tW ? ?XY uZ[ java/lang/String t\]^_ ? ? .gwt.rpc`abcd 1Could not find ClientOracle data for permutation ef X-GWT-Module-Baseghi java/net/URLj ?k ?lmnopq java/net/MalformedURLExceptionr ?stuvwx ?y ?z ? java/net/UnknownHostException $com/google/gwt/rpc/server/RpcServlet{| ? gwt.rpc.dumpPayload}~m ;com/google/gwt/user/server/rpc/AbstractRemoteServiceServlet javax/servlet/ServletException getPermutationStrongName (Ljava/lang/String;)V
java/util/Map containsKey (Ljava/lang/Object;)Z get &(Ljava/lang/Object;)Ljava/lang/Object; ()Ljava/lang/Object; equals -com/google/gwt/rpc/server/WebModeClientOracle load F(Ljava/io/InputStream;)Lcom/google/gwt/rpc/server/WebModeClientOracle; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString *(Ljava/lang/String;Ljava/lang/Throwable;)V (Ljava/lang/Object;)V put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; java/lang/Object getClass ()Ljava/lang/Class; com/google/gwt/rpc/server/RPC
decodeRequest x(Ljava/lang/String;Ljava/lang/Class;Lcom/google/gwt/rpc/server/ClientOracle;)Lcom/google/gwt/user/server/rpc/RPCRequest; onAfterRequestDeserialized .(Lcom/google/gwt/user/server/rpc/RPCRequest;)V )com/google/gwt/user/server/rpc/RPCRequest getMethod ()Ljava/lang/reflect/Method;
getParameters ()[Ljava/lang/Object; invokeAndStreamResponse ?(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;Lcom/google/gwt/rpc/server/ClientOracle;Ljava/io/OutputStream;)V getCause ()Ljava/lang/Throwable; log streamResponseForFailure V(Lcom/google/gwt/rpc/server/ClientOracle;Ljava/io/OutputStream;Ljava/lang/Throwable;)V readContent ;(Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String; java/lang/System Ljava/io/PrintStream; java/io/PrintStream println &javax/servlet/http/HttpServletResponse setContentType setCharacterEncoding .com/google/gwt/user/server/rpc/RPCServletUtils acceptsGzipEncoding *(Ljavax/servlet/http/HttpServletRequest;)Z setGzipEncodingHeader +(Ljavax/servlet/http/HttpServletResponse;)V getOutputStream %()Ljavax/servlet/ServletOutputStream; (Ljava/io/OutputStream;)V java/io/OutputStream close toByteArray ()[B ([BLjava/lang/String;)V !javax/servlet/ServletOutputStream write ([B)V getServletContext ()Ljavax/servlet/ServletContext; javax/servlet/ServletContext getResourceAsStream )(Ljava/lang/String;)Ljava/io/InputStream; getThreadLocalRequest )()Ljavax/servlet/http/HttpServletRequest; %javax/servlet/http/HttpServletRequest getHeader &(Ljava/lang/String;)Ljava/lang/String; getPath getContextPath
startsWith (Ljava/lang/String;)Z length ()I substring (I)Ljava/lang/String;
getRemoteAddr java/net/InetAddress getByName *(Ljava/lang/String;)Ljava/net/InetAddress; getLocalHost ()Ljava/net/InetAddress; isLoopbackAddress isSiteLocalAddress isLinkLocalAddress java/lang/Class desiredAssertionStatus java/lang/Boolean
getBoolean ! e i j k l M m n o p q r s n
t u v B *? *? Y? ? ? w = 8 > x y z { | v ? ?*? L+?
? Y? ?*? M,?
? Y
? ?*? Y:?*? +? ? *? +? ?
? ? N-? -ð+? ? *? ?
? Y? ?? Y? N? 3*,+? :? N? ":? Y? Y? ? +? ? ? ?*? +?
Y-? ? ! Wç :??-? ? ? ? . W ? X ? ? ? ? ? w ^ G H I L M N &