Abstract base class for all servlets.
Gets the value of a named attribute
Gets a named attribute's value.
Gets an enumeration containing all the attribute names
Gets an Enumeration of all the attribute names.
Gets the authorization scheme of this request.
Gets the character encoding of the request data.
Returns the characterset encoding in use by this Response
Gets the comment of the cookie
Gets the size in bytes of the request
Gets the mime type of the request
Gives the ServletContext
of another servlet indicated by
the UriPath
on the same server.
Gets all the Cookies present in the request.
Gets this session's creation time in seconds since january 1st 1970.
Converts a given header parameter name to a date in the form of
the number of milliseconds since 1 january 1970 midnight GMT.
Gets this cookie's domain
Gets an Enumeration with all the headernames.
Gets the unique session id.
Returns the implementation version of the JSP engine.
Gets a servlet's initialization parameter
Get the value of this name's initparameter
Gets all the initialization parameters
Get all InitParameterNames
Creates an inputstream for servlets to read client request data from.
Gets a named header and returns it in the shape of an int.
Gets the number of seconds since the previous access of this session.
Returns the time the requested uri was last modified in seconds since
1 january 1970.
Major version number of the Servlet API the servlet engine supports.
Gets the time-to-live for this cookie, in seconds.
If it is 0 then the client will delete the cookie.
If it is -1 (which is the default) then the cookie will
be a non-persistent cookie.
This means that the cookie will live as long as the http
client lives, and will not be saved to disk.
Returns the minimum time this session will be kept alive by the
server when it doesn't get accessed by a client.
Gets the method the client used.
Gives the mimetype of the requested file
Minor version number of the Servlet API the servlet engine supports.
Returns the name used to refer to this Object.
Creates a ServletOutputStream for the servlet to write the data to.
Gets the value of a named requestparameter.
Gets all parameter names.
Gets an array of Strings containing all the request parameter's
values whose name matches name
.
Gets the path for which requests this cookie will be attached.
The filesystem path to the path info.
Gets the protocol of the request as Proto/Major.Minor
("HTTP/1.1").
Gets the request's query string.
Retrieves the evaluated body contents as a reader
Creates an BufferedReader for servlets to read client request
data from.
Translates the requested virtual path to the real filesystem path
using the servers knowledge of the document root.
Translates the given path to the real path on the servers
filesystem, using the servers documentroot.
Gets the ip address of the client that sent the request
Gets the hostname of the client that sent the request.
Gets the username of the person sending the request.
Returns a RequestDispatcher
to forward requests or
include responses from another (active) resource.
Gets the session Id of this request that the client wanted.
Determines which URL the client used when issuing his request.
Translates the requested virtual path to an URL object that can be
accesed by the servlet.
A convenience method for
getResource(virtualPath).openStream()
.
Gives the Throwable that caused this exception if known, otherwise null.
Gets the scheme of the request as defined by RFC 1783
("ftp", "http", "gopher", "news").
Whether only secure means (https) should be used when sending this
cookie to a server.
A server supplied string containing the server name, version number, etc
Get the name of the server receiving the request
Gets the portnumber the server reveiving the request is running on.
Gets the servlet that is unavailable
Gets a specific servlet by name.
Gets the servlet servletConfig class
Gets the servlet config class.
Returns the servlets context
Get the context of this ServletConfig
The servlet programmer can put other additional info (version
number, etc) here.
Gets a string containing information about the servlet.
Gets you the name of this servlet's instance.
Gets the part of the URI up to and including the servlet name.
Gets the HttpSession connected with the client sending the request.
Returns the session the Object was bound to or unbound from.
Gets the HttpSession connected with the client sending the request.
Get the session with the given id.
Gets this HttpSession's context.
Retrieves the evaluated body contents as a string
Gets the number of seconds the servlet is unavailable
Gets a object from the set of name/value pairs in the session.
Get a list of all item names in the session.
Gets the version of this cookie.
Creates a PrintWriter for the servlet to print text to.
417 Expectation failed
XXX
505 HTTP Version Not Supported.
500 Internal Server Error.
203 Non-Authoritative Information.
407 Proxy Authentication Required.
413 Request Entity Too Large.
414 Request-URI Too Long.
416 Requested range not satisfiable
XXX
415 Unsupported Media Type.
Informs the client an error has occured.
Informs the client an error has occured and shows a descriptive message.
Sends a redirect message to the client (using SC_MOVED_TEMPORARILY).
This method looks whether the request is a POST, GET, etc method,
and then calls the appropriate doPost, doGet, whatever method.
If the request method is something it can't handle it sends
a HttpServletResponse.SC_BAD_REQUEST error through the response.
Called by the server every time it wants the servlet to handle
a request.
Frontend for calling service(HttpServletRequest,HttpServletResponse).
Called by the server every time it wants the servlet to handle
a request.
This is the interface for all servlets.
Whenever a server wants to pass initialization data to a servlet, it
creates a class which implements this interface.
The server then adds {String,String} pairs to the class, and the servlet
can read these using this interface.
A class created by the server to give servlets access to certain
environment related objects and methods.
It contains standard information like the names of all the servlets,
two kinds of log methods, the server name, etc.
The server can also store extra information here in the form
of {String, Object} pairs.
This exception is thrown by a servlet when a servlet related problem occurs.
Creates a new ServletException.
Creates a new ServletException with a message.
Creates a new ServletException with a message
and what caused the exception.
Creates a new ServletException with what caused the exception.
This class serves as a stream where servlets can read data supplied by
the client from.
Used to write output from a Servlet to the client.
Whenever the server receives a request it creates a ServletRequest object,
puts all the request information in it and passes this along with
a ServletResponse object to the approriate servlet.
A servlet can use this class to pass information to the client.
Puts a named object into the ServletContext
.
Puts a named object into the ServletRequest
.
Sets the comment of the cookie.
Tells the client how many bytes to expect.
Tells the client what mime type to expect
Adds a header to the response which contains a date.
Sets the domain for which this Cookie will be used.
Adds a header to the response.
Adds a header to the response which contains a number.
Sets the maximum lifetime of the cookie in seconds.
If set to 0 then the cookie will be deleted by the client.
If set to a negative value (such as -1 which is the default)
then the cookie will
be a non-persistent cookie.
This means that the cookie will live as long as the http
client lives, and will not be saved to disk.
Sets the minimum time this session will be kept alive by the
server when it doesn't get accessed by a client.
Note: hmmm, should an interval of -1 mean that it should live forever?
Set the path with which requests this cookie will be sent back to
the server.
Whether only secure means (https) should be used when sending this
cookie to a server.
Sets the return code that is send to the client.
Sets the return code that is send to the client.
SingleThreadModel.java -- Interface indicating a "single" thread model
SKIP_BODY - static field in class javax.servlet.jsp.tagext.
Tag SKIP_PAGE - static field in class javax.servlet.jsp.tagext.
Tag