|
Servlet 3.0 - Apache Tomcat 7.0.37 | ||||||||
PREV NEXT | FRAMES NO FRAMES |
java.lang.Object.clone
method to
return a copy of this cookie.
service
method)
to allow a servlet to handle a DELETE request.
doFilter
method of the Filter is called by the container
each time a request/response pair is passed through the chain due to a
client request for a resource at the end of the chain.
service
method) to
allow a servlet to handle a GET request.
service
method and handles the
request.
service
method)
to allow a servlet to handle a OPTIONS request.
service
method)
to allow a servlet to handle a POST request.
service
method)
to allow a servlet to handle a PUT request.
service
method)
to allow a servlet to handle a TRACE request.
sendRedirect
method
or, if encoding is not needed, returns the URL unchanged.
RequestDispatcher.forward(ServletRequest, ServletResponse)
method is
called.
RequestDispatcher.forward(ServletRequest, ServletResponse)
method is
called.
RequestDispatcher.forward(ServletRequest, ServletResponse)
method is
called.
RequestDispatcher.forward(ServletRequest, ServletResponse)
method is
called.
RequestDispatcher.forward(ServletRequest, ServletResponse)
method is
called.
null
if no object is bound under the name.
null
if there is no attribute by that name.
Object
, or
null
if no attribute of the given name exists.
Enumeration
of String
objects
containing the names of all the objects bound to this session.
Enumeration
containing the attribute names
available within this servlet context.
Enumeration
containing the names of the
attributes available to this request.
null
if the cookie has no comment.
null
if
the type is not known.
ServletContext
object that corresponds to a
specified URL on the server.
Cookie
objects the
client sent with this request.
long
value that represents a Date
object.
String
.
null
if this
header has not been set.
null
if this
header has not been set.
Enumeration
of String
objects.
Enumeration
and will be
removed in a future version of this API.
String
containing the value of the named
initialization parameter, or null
if the parameter does not
exist.
String
containing the value of the named
initialization parameter, or null
if the parameter does not
exist.
String
containing the value of the named
initialization parameter, or null
if the parameter does not
exist.
String
containing the value of the named
context-wide initialization parameter, or null
if the
parameter does not exist.
Enumeration
of String
objects, or an empty
Enumeration
if the filter has no initialization parameters.
Enumeration
of String
objects, or an empty
Enumeration
if the servlet has no initialization parameters.
Enumeration
of String
objects, or an empty
Enumeration
if the servlet has no initialization parameters.
Enumeration
of String
objects, or an empty
Enumeration
if the context has no initialization parameters.
ServletInputStream
.
int
.
HttpServletRequest
object was last modified,
in milliseconds since midnight January 1, 1970 GMT.
Locale
that the client will accept
content in, based on the Accept-Language header.
ServletResponse.setLocale(java.util.Locale)
method.
Enumeration
of Locale
objects
indicating, in decreasing order starting with the preferred locale, the
locales that are acceptable to the client based on the Accept-Language
header.
-1
indicating the cookie will persist until browser
shutdown.
null
if the
MIME type is not known.
RequestDispatcher
object that acts as a wrapper for the
named servlet.
ServletOutputStream
suitable for writing binary data in
the response.
String
, or
null
if the parameter does not exist.
Enumeration
of String
objects
containing the names of the parameters contained in this request.
String
objects containing all of the
values the given request parameter has, or null
if the
parameter does not exist.
BufferedReader
.
String
containing the real path for a given
virtual path.
ServletContext.getRealPath(java.lang.String)
instead.
null
if the user has not been
authenticated.
RequestDispatcher
object that acts as a wrapper for the
resource located at the given path.
RequestDispatcher
object that acts as a wrapper for the
resource located at the given path.
HttpServletRequest
object.
InputStream
object.
http
, https
, or ftp
.
true
if the browser is sending cookies only over a
secure protocol, or false
if the browser can send cookies
using any protocol.
This method was originally defined to retrieve a servlet from
a ServletContext
. In this version, this method
always returns null
and remains only to preserve
binary compatibility. This method will be permanently removed
in a future version of the Java Servlet API.
In lieu of this method, servlets can share information using
the ServletContext
class and can perform shared
business logic by invoking methods on common non-servlet
classes.
ServletConfig
object.
ServletConfig
object, which contains initialization and
startup parameters for this servlet.
ServletContext
in which the caller is
executing.
ServletContext
in which this servlet
is running.
ServletContext
in which the caller is
executing.
This method was originally defined to return an
Enumeration
of all the servlet names known to
this context. In this version, this method always returns an
empty Enumeration
and remains only to preserve
binary compatibility. This method will be permanently removed
in a future version of the Java Servlet API.
This method was originally defined to return an
Enumeration
of all the servlets known to this
servlet context. In this version, this method always returns
an empty enumeration and remains only to preserve binary
compatibility. This method will be permanently removed in a
future version of the Java Servlet API.
HttpSession
associated with this request
or, if there is no current session and create
is true,
returns a new session.
java.security.Principal
object containing the name
of the current authenticated user.
HttpSession.getAttribute(java.lang.String)
.
HttpSession.getAttributeNames()
PrintWriter
object that can send character text to
the client.
ServletContainerInitializer
.HttpMethodConstraint
in a
ServletSecurity
annotation.ServletSecurity.EmptyRoleSemantic.DENY
.
ServletSecurity
annotation.ServletRequest
interface to provide request
information for HTTP servlets.ServletResponse
interface to provide HTTP-specific
functionality in sending a response.HttpSessionBindingListener
when it is bound or unbound from a
session, or to a HttpSessionAttributeListener
that has been
configured in the deployment descriptor when any attribute is bound, unbound
or replaced in a session.HttpUtils
object.
RequestDispatcher.include(ServletRequest, ServletResponse)
method is
called on the RequestDispatcher
obtained by a path and not by a
name.
RequestDispatcher.include(ServletRequest, ServletResponse)
method is
called on the RequestDispatcher
obtained by a path and not by a
name.
RequestDispatcher.include(ServletRequest, ServletResponse)
method is
called on the RequestDispatcher
obtained by a path and not by a
name.
RequestDispatcher.include(ServletRequest, ServletResponse)
method is
called on the RequestDispatcher
obtained by a path and not by a
name.
RequestDispatcher.include(ServletRequest, ServletResponse)
method is
called on the RequestDispatcher
obtained by a path and not by a
name.
super.init(config)
.
true
if the client does not yet know about the
session or if the client chooses not to join the session.
boolean
indicating whether the servlet is
permanently unavailable.
HttpServletRequest.isRequestedSessionIdFromURL()
instead.
Throwable
exception to the servlet log file, prepended by
the servlet's name.
ServletContext.log(String message, Throwable throwable)
instead.
This method was originally defined to write an exception's stack trace and an explanatory error message to the servlet log file.
Throwable
exception to the servlet log file.
Servlet
on
which it is declared expects requests to made using the multipart/form-data
MIME type.HandlesTypes
annotation.
HashTable
object
with key-value pairs.
String
to the client, without a carriage
return-line feed (CRLF) character at the end.
boolean
value to the client, with no carriage
return-line feed (CRLF) character at the end.
long
value to the client, with no carriage
return-line feed (CRLF) at the end.
float
value to the client, with no carriage
return-line feed (CRLF) at the end.
double
value to the client, with no carriage
return-line feed (CRLF) at the end.
String
to the client, followed by a carriage
return-line feed (CRLF).
boolean
value to the client, followed by a carriage
return-line feed (CRLF).
long
value to the client, followed by a carriage
return-line feed (CRLF).
float
value to the client, followed by a carriage
return-line feed (CRLF).
double
value to the client, followed by a carriage
return-line feed (CRLF).
HttpSession.setAttribute(java.lang.String, java.lang.Object)
HttpSession.removeAttribute(java.lang.String)
Content-Length
.
Request-Line
is not allowed for the resource
identified by the Request-URI
.
Request-URI
is longer than the
server is willing to interpret.
Location
field.
service
method and dispatches
them to the do
Method methods defined in
this class.
service
method.
readLine
method for reading data one line
at a time.Servlet
implementation
class to enforce security constraints on HTTP protocol requests.setStatus(int)
, to send an error with a
description use sendError(int, String)
.
UnavailableException.UnavailableException(String)
instead.
UnavailableException.UnavailableException(String, int)
instead.
Filter
.Servlet
or Filter
, within a
WebFilter
or
WebServlet
annotation.Servlet
.
|
Servlet 3.0 - Apache Tomcat 7.0.37 | ||||||||
PREV NEXT | FRAMES NO FRAMES |