You are on page 1of 2

C:\>javap javax.servlet.http.HttpSession interface HttpSession{ long getCreationTime(); HTT/6S%SSI!& String getId(); long getLastAccessedTime(); javax.servlet.

ServletContext getServletContext(); void set axInactiveInterval(int); int get axInactiveInterval(); HttpSessionContext getSessionContext(); !"ject getAttri"#te(String); !"ject get$al#e(String); %n#meration getAttri"#te&ames(); String'( get$al#e&ames(); void setAttri"#te(String)!"ject); void p#t$al#e(String)!"ject); void removeAttri"#te(String); ST XIV void remove$al#e(String); void invalidate(); "oolean is&e*(); + C:\>javap javax.servlet.ServletContext interface ServletContext{ ServletContext getContext(String); int get ajor$ersion(); int get inor$ersion(); String get imeT.pe(String); Set get1eso#rce/at0s(String); 31L get1eso#rce(String); Inp#tStream get1eso#rceAsStream(String); 1e2#est4ispatc0er get1e2#est4ispatc0er(String); 1e2#est4ispatc0er get&amed4ispatc0er(String); Servlet getServlet(String); %n#meration getServlets(); %n#meration getServlet&ames(); void log(String); void log(%xception)String); void log(String)T0ro*a"le); String get1eal/at0(String); String getServerInfo(); String getInit/arameter(String); %n#meration getInit/arameter&ames(); !"ject getAttri"#te(String); %n#meration getAttri"#te&ames(); void setAttri"#te(String)!"ject); void removeAttri"#te(String); String getServletContext&ame(); +

C:\>javap javax.servlet.GenericServlet p#"lic a"stract class ,enericServlet extends !"ject implements Servlet)ServletConfig)java.io.Seriali-a"le { p#"lic ,enericServlet(); p#"lic void destro.(); p#"lic String getInit/arameter(String); p#"lic %n#meration getInit/arameter&ames(); p#"lic ServletConfig getServletConfig(); p#"lic ServletContext getServletContext(); p#"lic String getServletInfo(); p#"lic void init(ServletConfig); ST XIV p#"lic void init(); p#"lic void log(String); p#"lic void log(String)T0ro*a"le); void service(Servlet1e2#est)Servlet1esponse); p#"lic String getServlet&ame(); +

,enericServlet

C:\>javap javax.servlet.http.HttpServletRequest
interface HttpServlet1e2#est extends javax.servlet.Servlet1e2 #est{ p#"lic static final String 5ASIC6A3TH; p#"lic static final String 7!1 6A3TH; p#"lic static final String CLI%&T6C%1T6A3TH; p#"lic static final String 4I,%ST6A3TH; String getA#t0T.pe(); Coo8ie'( getCoo8ies(); long get4ateHeader(String); String getHeader(String); %n#meration getHeaders(String); %n#meration getHeader&ames(); int getIntHeader(String); String get et0od(); HttpServlet1e2#est String get/at0Info(); String get/at0Translated(); String getContext/at0(); String get9#er.String(); String get1emote3ser(); "oolean is3serIn1ole(String); java.sec#rit../rincipal get3ser/rincipal(); String get1e2#estedSessionId(); String get1e2#est31I(); String5#ffer get1e2#est31L(); String getServlet/at0(); HttpSession getSession("oolean); HttpSession getSession(); "oolean is1e2#estedSessionId$alid(); "oolean is1e2#estedSessionId7romCoo8ie(); "oolean is1e2#estedSessionId7rom31L(); "oolean is1e2#estedSessionId7rom3rl(); +

ServletContext

C:\>javap javax.servlet.http.HttpServletResponse
interface HttpServlet1esponse extends Servlet1esponse{ int SC6C!&TI&3%; int SC6S:ITCHI&,6/1!T!C!LS; int SC6!;; HttpServletResponse int SC6C1%AT%4; int SC6ACC%/T%4; int SC6&!&6A3TH!1ITATI$%6I&7!1 ATI!&; int SC6&!6C!&T%&T; int SC61%S%T6C!&T%&T; int SC6/A1TIAL6C!&T%&T; int SC6 3LTI/L%6CH!IC%S; int SC6 !$%46/%1 A&%&TL<; int SC6 !$%46T% /!1A1IL<; int SC67!3&4; int SC6S%%6!TH%1; ST XV int SC6&!T6 !4I7I%4; int SC63S%6/1!=<; int SC6T% /!1A1<61%4I1%CT; int SC65A461%93%ST; int SC63&A3TH!1I>%4; int SC6/A< %&T61%93I1%4; int SC67!15I44%&; int SC6&!T67!3&4; int SC6 %TH!46&!T6ALL!:%4; int SC6&!T6ACC%/TA5L%; int SC6/1!=<6A3TH%&TICATI!&61%93I1%4; int SC61%93%ST6TI %!3T; int SC6C!&7LICT; int SC6,!&%; int SC6L%&,TH61%93I1%4; int SC6/1%C!&4ITI!&67AIL%4; int SC61%93%ST6%&TIT<6T!!6LA1,%; int SC61%93%ST631I6T!!6L!&,; int SC63&S3//!1T%46 %4IA6T</%; int SC61%93%ST%461A&,%6&!T6SATIS7IA5L%; int SC6%=/%CTATI!&67AIL%4; int SC6I&T%1&AL6S%1$%16%11!1; int SC6&!T6I /L% %&T%4; int SC65A46,AT%:A<; int SC6S%1$IC%63&A$AILA5L%; int SC6,AT%:A<6TI %!3T; int SC6HTT/6$%1SI!&6&!T6S3//!1T%4;

C:\>javap javax.servlet.http.HttpServlet
p#"lic a"stract class HttpServlet extends ,enericServlet implements Seriali-a"le{ p#"lic HttpServlet(); void do,et(HttpServlet1e2#est)HttpServlet1esponse); long getLast odified(HttpServlet1e2#est); void doHead(HttpServlet1e2#est)HttpServlet1esponse); void do/ost(HttpServlet1e2#est)HttpServlet1esponse); void do/#t(HttpServlet1e2#est)HttpServlet1esponse); void do4elete(HttpServlet1e2#est)HttpServlet1esponse); void do!ptions(HttpServlet1e2#est)HttpServlet1esponse); void doTrace(HttpServlet1e2#est)HttpServlet1esponse); void service(HttpServlet1e2#est)HttpServlet1esponse); p#"lic void service(Servlet1e2#est)Servlet1esponse); +

HttpServlet
Servlet xception
C?@Ajavap javax.servlet.Servlet%xception p#"lic class Servlet%xception extends %xception{ p#"lic Servlet%xception(); p#"lic Servlet%xception(String); p#"lic Servlet%xception(String)T0ro*a"le); p#"lic Servlet%xception(T0ro*a"le); p#"lic T0ro*a"le get1ootCa#se(); +

ServletCon!i"
C?@Ajavap javax.servlet.ServletConfig interface ServletConfig{ String getServlet&ame(); ServletContext getServletContext(); String getInit/arameter(String); %n#meration getInit/arameter&ames(); +

ST XV

void addCoo8ie(Coo8ie); "oolean containsHeader(String); String encode31L(String); String encode1edirect31L(String); String encode3rl(String); String encode1edirect3rl(String); void send%rror(int)String); void send%rror(int); void send1edirect(String); void set4ateHeader(String)long); void add4ateHeader(String)long); void setHeader(String)String); void addHeader(String)String); void setIntHeader(String)int); void addIntHeader(String)int); void setStat#s(int); void setStat#s(int)String); +

S RV# T $ TH%&S '( )#C R*$*+ SH(*$ ,-.$*(./,,0