javax.servlet
Interfaces:
Servlet
ServletConfig
ServletContext
ServletRequest
ServletResponse
SingleThreadModel(deprecated)
RequestDispatcher
Classes:
GenericServlet
ServletInputStream
ServletOutputStream
ServletException
Methods of Servlet Interface:
public void init(ServletConfig g)
public void service(ServletRequest request,ServletResponse response)
public void destroy()
public ServletConfig getServletConfig()
public String getServletInfo()
Methods of ServletConfig:
public String getInitParameters(String name)
public Enumeration getInitParametersNames()
public servletContext getServletContext()
Methods of servletRequest:
public void setAttributes(String name,Object value)
public void getattributes(String name)
public string getParameter(String name)
public Enumeration getParametersNames()
public int getContextLength()
public InputStream getInputStream()
public int getLocalPort()
public int getRemotePort()
public int getserverPort()
public void getrequestDispatcher(String url)
Methods of ServletResponse:
public int getBufferSize()
public void setContentType(String s)
public OutputStream getOutputstream()
public PrintWriter getWriter()
Methods of ServletContext:
public string getInitParameters(string name)
public Enumeration getInitParametersNames()
public void setAttributes(string name,Object value)
public Object getAttributes()
Interfaces:
Servlet
ServletConfig
ServletContext
ServletRequest
ServletResponse
SingleThreadModel(deprecated)
RequestDispatcher
Classes:
GenericServlet
ServletInputStream
ServletOutputStream
ServletException
Methods of Servlet Interface:
public void init(ServletConfig g)
public void service(ServletRequest request,ServletResponse response)
public void destroy()
public ServletConfig getServletConfig()
public String getServletInfo()
Methods of ServletConfig:
public String getInitParameters(String name)
public Enumeration getInitParametersNames()
public servletContext getServletContext()
Methods of servletRequest:
public void setAttributes(String name,Object value)
public void getattributes(String name)
public string getParameter(String name)
public Enumeration getParametersNames()
public int getContextLength()
public InputStream getInputStream()
public int getLocalPort()
public int getRemotePort()
public int getserverPort()
public void getrequestDispatcher(String url)
Methods of ServletResponse:
public int getBufferSize()
public void setContentType(String s)
public OutputStream getOutputstream()
public PrintWriter getWriter()
Methods of ServletContext:
public string getInitParameters(string name)
public Enumeration getInitParametersNames()
public void setAttributes(string name,Object value)
public Object getAttributes()
No comments:
Post a Comment