org.appfuse.webapp.util.RequestUtil.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appfuse-web-common Show documentation
Show all versions of appfuse-web-common Show documentation
Common web files (images, stylesheets, scripts) and Java classes (listeners and filters) used
by all web frameworks. This module is not meant to be included in a project utilizing AppFuse.
It's designed to be used internally by AppFuse only.
???? 1 ?
' R % S T U V
R W
X Y Z
[ T \ ]
^
_
` '?
a b c d e
f
g h i
j k
R d l d m
n o d p q r
s
t d u
[ v
w x y log Lorg/apache/commons/logging/Log; ()V Code LineNumberTable LocalVariableTable this %Lorg/appfuse/webapp/util/RequestUtil; setCookie a(Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V response (Ljavax/servlet/http/HttpServletResponse; name Ljava/lang/String; value path cookie Ljavax/servlet/http/Cookie; getCookie V(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;)Ljavax/servlet/http/Cookie;
thisCookie arr$ [Ljavax/servlet/http/Cookie; len$ I i$ request 'Ljavax/servlet/http/HttpServletRequest; cookies returnCookie deleteCookie X(Ljavax/servlet/http/HttpServletResponse;Ljavax/servlet/http/Cookie;Ljava/lang/String;)V getAppURL ;(Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String; url Ljava/lang/StringBuffer; port scheme
SourceFile RequestUtil.java * + ( ) z { | java/lang/StringBuilder Setting cookie ' } ~ ' on path ' ' ? ? ? javax/servlet/http/Cookie * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? java/lang/StringBuffer ? ? ? ? } ? :// ? ? http https } ? } ? ? ? #org/appfuse/webapp/util/RequestUtil ? ? ? java/lang/Object org/apache/commons/logging/Log isDebugEnabled ()Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; debug (Ljava/lang/Object;)V '(Ljava/lang/String;Ljava/lang/String;)V setSecure (Z)V setPath (Ljava/lang/String;)V setMaxAge (I)V &javax/servlet/http/HttpServletResponse addCookie (Ljavax/servlet/http/Cookie;)V %javax/servlet/http/HttpServletRequest
getCookies ()[Ljavax/servlet/http/Cookie; getName java/lang/String equals (Ljava/lang/Object;)Z getValue
getServerPort ()I getScheme ,(Ljava/lang/String;)Ljava/lang/StringBuffer;
getServerName (C)Ljava/lang/StringBuffer; (I)Ljava/lang/StringBuffer; getContextPath %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; 1 % ' ( ) * + , 3 *? ? -
. / 0 1 2 , ? [? ? ? ,? ? Y? ? +? ? -? ? ?
? ? Y+,?
:? -? ? *? ? - " ! 4 $ ? % E &