All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

addAttributeDictionary(Dictionary). Method in class sun.servlet.http.HttpRequest
Stores an attribute dictionary, to be consulted for request attributes.
authType. Variable in class sun.servlet.http.HttpRequest
The authentication type for the request.
avail. Variable in class sun.servlet.http.HttpServer
The number of available handlers.
available(). Method in class sun.servlet.http.HttpInputStream
Returns the number of bytes that can be read without blocking.

B

backlog. Variable in class sun.servlet.http.HttpServer
The backlog parameter to use when creating the server socket.
buf. Variable in class sun.servlet.http.HttpInputStream
The input buffer.
buf. Variable in class sun.servlet.http.HttpOutputStream
The output buffer.
buf. Variable in class sun.servlet.http.HttpRequestLine
The request line buffer.
buf. Variable in class sun.servlet.http.HttpServerHandler
Temporary buffer for file requests.
buf. Variable in class sun.servlet.http.MimeHeaders
The byte buffer to use when parsing headers.
bytes. Variable in class sun.servlet.http.MessageBytes
The message bytes.

C

check(int). Method in class sun.servlet.http.HttpOutputStream
Checks the output stream for a pending IOException that needs to be thrown, a content length that has been exceeded, or observers that need to be notified.
classes. Variable in class sun.servlet.ServletLoader
clear(). Method in class sun.servlet.http.MimeHeaders
Clears all header fields.
close(). Method in class sun.servlet.http.HttpInputStream
Closes the input stream.
close(). Method in class sun.servlet.http.HttpOutputStream
Closes the servlet output stream.
con. Variable in class sun.servlet.http.HttpRequest
The servlet connection for the request.
con. Variable in class sun.servlet.http.HttpResponse
The connection for this servlet.
connections. Variable in class sun.servlet.http.HttpServer
The queue of pending connections.
containsHeader(String). Method in class sun.servlet.http.HttpResponse
Returns true if the specified header field is contained in this response otherwise returns false.
containsHeader(String). Method in class sun.servlet.http.MimeHeaders
Returns true if the specified header is contained in the list of headers otherwise returns false.
count. Variable in class sun.servlet.http.HttpInputStream
The current number of bytes in the buffer.
count. Variable in class sun.servlet.http.HttpOutputStream
The current number of bytes in the buffer.
count. Variable in class sun.servlet.http.MimeHeaders
The current number of headers.

D

DATELEN. Static variable in class sun.servlet.http.HttpDate
Length of RFC 1123 format date string as written by getBytes().
dateValue. Variable in class sun.servlet.http.MimeHeaderField
The header field Date value.
days. Static variable in class sun.servlet.http.HttpDate
Days of the week.
daysBeforeMonth. Static variable in class sun.servlet.http.HttpDate
Number of days in a year before a given month.
daysBeforeMonth(int, int). Static method in class sun.servlet.http.HttpDate
Returns number of days before the specified month of the specified year.
daysBeforeMonthLeap. Static variable in class sun.servlet.http.HttpDate
Number of days in a leap year before a given month.
daysInMonth. Static variable in class sun.servlet.http.HttpDate
Number of days in the month.
daysInMonth(int, int). Static method in class sun.servlet.http.HttpDate
Returns number of days in the specified month of the specified year.
daysInMonthLeap. Static variable in class sun.servlet.http.HttpDate
Number of days in the month for a leap year.
destroy(). Method in class java.servlet.GenericServlet
Destroys the servlet and cleans up whatever resources are being held.
destroy(). Method in interface java.servlet.Servlet
Destroys the servlet and cleans up whatever resources are being held.
dir. Variable in class sun.servlet.ServletLoader
documentDir. Variable in class sun.servlet.http.HttpServer
The document root directory for serving files.
dump(PrintStream). Method in class sun.servlet.http.HttpRequest
Print debug information.
dump(PrintStream). Method in class sun.servlet.http.HttpRequestLine
Print debug information.
dump(PrintStream). Method in class sun.servlet.http.MimeHeaders
Dumps current headers to specified PrintStream for debugging.

E

equals(byte[], int, int). Method in class sun.servlet.http.MessageBytes
Compares the message bytes to the specified subarray of bytes.
equals(byte[], int, int). Method in class sun.servlet.http.MessageString
Compares this message string to the specified subarray of bytes.
equals(String). Method in class sun.servlet.http.MessageBytes
Compares the message bytes to the specified String object.
equals(String). Method in class sun.servlet.http.MessageString
Compares this message string to the specified String object.
equalsIgnoreCase(byte[], int, int). Method in class sun.servlet.http.MessageBytes
Compares the message bytes to the specified subarray of bytes.
equalsIgnoreCase(byte[], int, int). Method in class sun.servlet.http.MessageString
Compares this message string to the specified subarray of bytes.
equalsIgnoreCase(String). Method in class sun.servlet.http.MessageBytes
Compares the message bytes to the specified String object.
equalsIgnoreCase(String). Method in class sun.servlet.http.MessageString
Compares this message string to the specified String object.
except. Variable in class sun.servlet.http.HttpOutputStream
If set then an I/O exception is pending.

F

fill(). Method in class sun.servlet.http.HttpInputStream
Fills input buffer with more bytes.
find(String). Method in class sun.servlet.http.MimeHeaders
Finds and returns the request header matching name.
finish(). Method in class sun.servlet.http.HttpInputStream
Finishes reading the request without closing the underlying stream.
finish(). Method in class sun.servlet.http.HttpOutputStream
Finishes the current response.
finish(). Method in class sun.servlet.http.HttpRequest
Finishes the current request.
finish(). Method in class sun.servlet.http.HttpResponse
Finishes the response.
flush(). Method in class sun.servlet.http.HttpOutputStream
Flushes the output stream.
flushBytes(). Method in class sun.servlet.http.HttpOutputStream
Flushes the output stream bytes.

G

GenericServlet(). Constructor for class java.servlet.GenericServlet
getAttribute(String). Method in class sun.servlet.http.HttpRequest
Returns an attribute of the request for the specified key name.
getAttribute(String). Method in class sun.servlet.http.HttpServer
Returns an attribute of the server for the specified key name.
getAttribute(String). Method in interface java.servlet.ServletContext
Returns an attribute of the server given the specified key name.
getAttribute(String). Method in interface java.servlet.ServletRequest
Returns an attribute of the request given the specified key name.
getAuthType(). Method in class sun.servlet.http.HttpRequest
Returns the authentication scheme of the request, or null if none.
getAuthType(). Method in interface java.servlet.http.HttpServletRequest
Returns the authentication scheme of the request, or null if none.
getBytes(). Method in class sun.servlet.http.MessageBytes
Returns the message bytes.
getBytes(byte[], int, int). Method in class sun.servlet.http.HttpDate
Writes an RFC 1123 formatted date to the specified subarray of bytes.
getConnection(). Method in class sun.servlet.http.HttpServer
Called by a connection handler to retrieve the next socket from the connection queue.
getContentLength(). Method in class sun.servlet.http.HttpInputStream
Returns the content length for this input stream, or -1 if not set.
getContentLength(). Method in class sun.servlet.http.HttpOutputStream
Returns the content length for this output stream, or -1 if not set.
getContentLength(). Method in class sun.servlet.http.HttpRequest
Returns the size of the request entity data, or -1 if not known.
getContentLength(). Method in interface java.servlet.ServletRequest
Returns the size of the request entity data, or -1 if not known.
getContentType(). Method in class sun.servlet.http.HttpRequest
Returns the Internet Media Type of the request entity data, or null if not known.
getContentType(). Method in interface java.servlet.ServletRequest
Returns the Internet Media Type of the request entity data, or null if not known.
getDateHeader(String). Method in class sun.servlet.http.HttpRequest
Returns the value of a date header field, or -1 if not found.
getDateHeader(String). Method in interface java.servlet.http.HttpServletRequest
Returns the value of a date header field, or -1 if not found.
getDateHeader(String). Method in class sun.servlet.http.MimeHeaders
Returns the date value of the specified header field.
getDateValue(). Method in class sun.servlet.http.MimeHeaderField
Returns the date value of the header field.
getEntityBytes(). Method in class sun.servlet.http.HttpResponse
Returns the size of the entity data for this response.
getHeader(int). Method in class sun.servlet.http.MimeHeaders
Returns the value of the nth header field where n >= 0.
getHeader(String). Method in class sun.servlet.http.HttpRequest
Returns the value of a header field, or null if not known.
getHeader(String). Method in interface java.servlet.http.HttpServletRequest
Returns the value of a header field, or null if not known.
getHeader(String). Method in class sun.servlet.http.MimeHeaders
Returns the string value of the specified header field.
getHeaderName(int). Method in class sun.servlet.http.MimeHeaders
Returns the name of the nth header field where n >= 0.
getHeaderNames(). Method in class sun.servlet.http.HttpRequest
Returns an enumeration of strings representing the header names for this request.
getHeaderNames(). Method in interface java.servlet.http.HttpServletRequest
Returns an enumeration of strings representing the header names for this request.
getHeaders(). Method in class sun.servlet.http.HttpResponse
Returns the MIME headers for this response.
getHostName(). Static method in class sun.servlet.http.HttpServer
Returns the host name of the server.
getInitParameter(String). Method in class java.servlet.GenericServlet
Gets an initialization parameter of the servlet.
getInitParameter(String). Method in class sun.servlet.http.HttpServer
Returns a servlet initialization parameter.
getInitParameter(String). Method in interface java.servlet.ServletConfig
Gets an initialization parameter of the servlet.
getInitParameterNames(). Method in class java.servlet.GenericServlet
Returns an enumeration of strings representing the initialization parameter names for this servlet.
getInitParameterNames(). Method in class sun.servlet.http.HttpServer
Returns an enumeration of strings representing the initialization parameters for this servlet.
getInitParameterNames(). Method in interface java.servlet.ServletConfig
Returns an enumeration of strings representing the initialization parameters for this servlet.
getInputStream(). Method in class sun.servlet.http.HttpRequest
Returns an input stream for reading request data.
getInputStream(). Method in class sun.servlet.http.HttpServerHandler
Returns the input stream for reading from the connection.
getInputStream(). Method in interface sun.servlet.ServletConnection
Returns an input stream for reading from the connection.
getInputStream(). Method in interface java.servlet.ServletRequest
Returns an input stream for reading the request body.
getIntHeader(String). Method in class sun.servlet.http.HttpRequest
Returns the value of an integer header field, or -1 if not found.
getIntHeader(String). Method in interface java.servlet.http.HttpServletRequest
Returns the value of an integer header field, or -1 if not found.
getIntHeader(String). Method in class sun.servlet.http.MimeHeaders
Returns the integer value of the specified header field.
getIntProperty(Properties, String, int). Static method in class sun.servlet.http.HttpServer
Returns the integer value of a property.
getIntValue(). Method in class sun.servlet.http.MimeHeaderField
Returns the integer value of the header field.
getKeepAlive(). Method in class sun.servlet.http.HttpRequest
Returns true if this connection should be kept alive.
getKeepAlive(). Method in class sun.servlet.http.HttpResponse
Returns true if this connection should be kept alive.
getLength(). Method in class sun.servlet.http.MessageBytes
Returns the length of the bytes.
getMethod(). Method in class sun.servlet.http.HttpRequest
Returns the method with which the request was made.
getMethod(). Method in class sun.servlet.http.HttpRequestLine
Returns the request method.
getMethod(). Method in interface java.servlet.http.HttpServletRequest
Returns the method with which the request was made.
getMimeType(String). Method in class sun.servlet.http.HttpServer
Returns the mime type of the specified file.
getMimeType(String). Method in interface java.servlet.ServletContext
Returns the mime type of the specified file, or null if not known.
getName(). Method in class sun.servlet.http.MimeHeaderField
Returns the header field name as a String.
getOffset(). Method in class sun.servlet.http.MessageBytes
Returns the start offset of the bytes.
getOutputStream(). Method in class sun.servlet.http.HttpResponse
Returns an output stream for writing response data.
getOutputStream(). Method in class sun.servlet.http.HttpServerHandler
Returns the output stream for writing to the connection.
getOutputStream(). Method in interface sun.servlet.ServletConnection
Returns an output stream for writing to the connection.
getOutputStream(). Method in interface java.servlet.ServletResponse
Returns an output stream for writing response data.
getParameter(String). Method in class sun.servlet.http.HttpRequest
Returns the value of the specified parameter for the request.
getParameter(String). Method in class sun.servlet.http.HttpRequestLine
Returns the value of the specified query string parameter.
getParameter(String). Method in interface java.servlet.ServletRequest
Returns the value of the specified parameter for the request.
getParameterNames(). Method in class sun.servlet.http.HttpRequest
Returns an enumeration of strings representing the parameter names for this request.
getParameterNames(). Method in class sun.servlet.http.HttpRequestLine
Returns an enumeration of the query parameter names.
getParameterNames(). Method in interface java.servlet.ServletRequest
Returns an enumeration of strings representing the parameter names for this request.
getParameters(). Method in class sun.servlet.http.HttpRequestLine
Returns the hashtable of query parameters for this request.
getPathInfo(). Method in class sun.servlet.http.HttpRequest
Returns optional extra path information following the servlet path, but immediately preceding the query string.
getPathInfo(). Method in interface java.servlet.http.HttpServletRequest
Returns optional extra path information following the servlet path, but immediately preceding the query string.
getPathTranslated(). Method in class sun.servlet.http.HttpRequest
Returns extra path information translated to a real file system path.
getPathTranslated(). Method in interface java.servlet.http.HttpServletRequest
Returns extra path information translated to a real path.
getProtocol(). Method in class sun.servlet.http.HttpRequest
Returns the protocol and version of the request as a string of the form <protocol>/<major version>.<minor version>.
getProtocol(). Method in class sun.servlet.http.HttpRequestLine
Returns the protocol for the request.
getProtocol(). Method in interface java.servlet.ServletRequest
Returns the protocol and version of the request as a string of the form <protocol>/<major version>.<minor version>.
getQueryString(). Method in class sun.servlet.http.HttpRequest
Returns the query string part of the servlet URI, or null if none.
getQueryString(). Method in class sun.servlet.http.HttpRequestLine
Returns the query string for the request.
getQueryString(). Method in interface java.servlet.http.HttpServletRequest
Returns the query string part of the servlet URI, or null if none.
getRealPath(String). Method in class sun.servlet.http.HttpRequest
Applies alias rules to the specified virtual path and returns the corresponding real path.
getRealPath(String). Method in class sun.servlet.http.HttpServer
Returns the translated path for the specified virtual path.
getRealPath(String). Method in class sun.servlet.http.HttpServerHandler
Returns the translated path for the specified virtual path.
getRealPath(String). Method in interface sun.servlet.ServletConnection
Returns the specified path translated to a real path.
getRealPath(String). Method in interface java.servlet.ServletContext
Applies alias rules to the specified virtual path and returns the corresponding real path.
getRealPath(String). Method in interface java.servlet.ServletRequest
Applies alias rules to the specified virtual path and returns the corresponding real path.
getRemoteAddr(). Method in class sun.servlet.http.HttpRequest
Returns the IP address of the agent that sent the request.
getRemoteAddr(). Method in class sun.servlet.http.HttpServerHandler
Returns the remote address of the socket connection.
getRemoteAddr(). Method in interface sun.servlet.ServletConnection
Returns the IP address of the agent that sent the request.
getRemoteAddr(). Method in interface java.servlet.ServletRequest
Returns the IP address of the agent that sent the request.
getRemoteHost(). Method in class sun.servlet.http.HttpRequest
Returns the fully qualified host name of the agent that sent the request.
getRemoteHost(). Method in class sun.servlet.http.HttpServerHandler
Returns the local port of the socket connection.
getRemoteHost(). Method in interface sun.servlet.ServletConnection
Returns the fully qualified host name of the agent that sent the request.
getRemoteHost(). Method in interface java.servlet.ServletRequest
Returns the fully qualified host name of the agent that sent the request.
getRemoteUser(). Method in class sun.servlet.http.HttpRequest
Returns the name of the user making this request, or null if not known.
getRemoteUser(). Method in interface java.servlet.http.HttpServletRequest
Returns the name of the user making this request, or null if not known.
getRequestLine(). Method in class sun.servlet.http.HttpRequest
Returns the request line bytes.
getRequestLine(). Method in class sun.servlet.http.HttpRequestLine
Returns the entire request line.
getRequestPath(). Method in class sun.servlet.http.HttpRequest
Returns the request path bytes.
getRequestPath(). Method in class sun.servlet.http.HttpRequestLine
Get the requst path bytes
getRequestURI(). Method in class sun.servlet.http.HttpRequest
Returns the request URI as string.
getRequestURI(). Method in interface java.servlet.http.HttpServletRequest
Returns the request URI as a URL object.
getServerInfo(). Method in class sun.servlet.http.HttpServer
Returns the name and version of the current server.
getServerInfo(). Method in interface java.servlet.ServletContext
Returns the name and version of the Web server under which the servlet is running.
getServerName(). Method in class sun.servlet.http.HttpRequest
Returns the host name of the server that received the request.
getServerName(). Method in class sun.servlet.http.HttpServerHandler
Returns the host name of the server.
getServerName(). Method in interface sun.servlet.ServletConnection
Returns the host name of the server that received the request.
getServerName(). Method in interface java.servlet.ServletRequest
Returns the host name of the server that received the request.
getServerPort(). Method in class sun.servlet.http.HttpRequest
Returns the port number on which this request was received.
getServerPort(). Method in class sun.servlet.http.HttpServerHandler
Returns the post number of the server.
getServerPort(). Method in interface sun.servlet.ServletConnection
Returns the port number on which this request was received.
getServerPort(). Method in interface java.servlet.ServletRequest
Returns the port number on which this request was received.
getServlet(String). Method in class sun.servlet.http.HttpServer
Gets a servlet by name.
getServlet(String). Method in interface java.servlet.ServletContext
Returns the servlet for the specified name.
getServletConfig(). Method in class java.servlet.GenericServlet
Returns the startup configuration information for this servlet.
getServletConfig(). Method in interface java.servlet.Servlet
Returns the configuration for this servlet.
getServletContext(). Method in class java.servlet.GenericServlet
Returns the servlet context.
getServletContext(). Method in class sun.servlet.http.HttpServer
Returns the servlet context.
getServletContext(). Method in interface java.servlet.ServletConfig
Returns the context for the servlet.
getServletInfo(). Method in class java.servlet.GenericServlet
Returns a string containing information about the author, version, and copyright of the servlet.
getServletInfo(). Method in interface java.servlet.Servlet
Returns a string containing information about the author, version, and copyright of the servlet.
getServletPath(). Method in class sun.servlet.http.HttpRequest
Returns the part of the request URI that refers to the servlet being invoked.
getServletPath(). Method in interface java.servlet.http.HttpServletRequest
Returns the part of the request URI that refers to the servlet being invoked.
getServlets(). Method in class sun.servlet.http.HttpServer
Enumerates the servlets in this server.
getServlets(). Method in interface java.servlet.ServletContext
Enumerates the servlets in this context (server).
getServlets(). Method in class sun.servlet.ServletLoader
getStatus(). Method in class sun.servlet.http.HttpResponse
Returns the status code of the response.
getTime(). Method in class sun.servlet.http.HttpDate
Returns the time as number of milliseconds since the epoch.
getTotal(). Method in class sun.servlet.http.HttpInputStream
Returns the total number of bytes read so far.
getTotal(). Method in class sun.servlet.http.HttpOutputStream
Returns the total number of bytes written so far.
getTotalBytes(). Method in class sun.servlet.http.HttpRequest
Returns the total number of bytes for this request.
getTotalBytes(). Method in class sun.servlet.http.HttpResponse
Returns the total number of bytes for this response.
getURI(). Method in class sun.servlet.http.HttpRequestLine
Returns the request URI.
getValue(). Method in class sun.servlet.http.MimeHeaderField
Returns the header field value as a String, or null if not set.

H

handleConnection(Socket). Method in class sun.servlet.http.HttpServerHandler
Handles a single connection from the client.
handlers. Variable in class sun.servlet.http.HttpServer
The thread group for connection handlers.
headerBytes. Variable in class sun.servlet.http.HttpResponse
The response header size in bytes.
headers. Variable in class sun.servlet.http.HttpRequest
The MIME header fields for the request.
headers. Variable in class sun.servlet.http.HttpResponse
The MIME headers for this response.
headers. Variable in class sun.servlet.http.MimeHeaders
The header fields.
help(). Static method in class sun.servlet.http.HttpServer
host. Variable in class sun.servlet.http.HttpServer
The host name of the server.
hour. Variable in class sun.servlet.http.HttpDate
Hours, 0-based
HttpDate(). Constructor for class sun.servlet.http.HttpDate
Creates a new HttpDate object.
HttpDate(long). Constructor for class sun.servlet.http.HttpDate
Creates a new HttpDate object using the specified time.
HttpInputStream(). Constructor for class sun.servlet.http.HttpInputStream
Creates a new, uninitialized input stream using a default buffer size.
HttpInputStream(int). Constructor for class sun.servlet.http.HttpInputStream
Creates a new, uninitialized input stream using the specified buffer size.
HttpOutputStream(). Constructor for class sun.servlet.http.HttpOutputStream
Creates a new, uninitialized servlet output stream with a default buffer size.
HttpOutputStream(int). Constructor for class sun.servlet.http.HttpOutputStream
Creates a new servlet output stream using the specified buffer size.
HttpRequest(). Constructor for class sun.servlet.http.HttpRequest
Creates a new HttpRequest object.
HttpRequestLine(). Constructor for class sun.servlet.http.HttpRequestLine
Creates a new object with a default request line buffer size.
HttpRequestLine(int). Constructor for class sun.servlet.http.HttpRequestLine
Creates a new object with the specified request line buffer size.
HttpResponse(). Constructor for class sun.servlet.http.HttpResponse
Creates a new HttpResponse object.
HttpServer(). Constructor for class sun.servlet.http.HttpServer
Creates a new HTTP server with default parameters.
HttpServer(Properties). Constructor for class sun.servlet.http.HttpServer
Creates a new HTTP server with parameters from the specified properties.
HttpServerHandler(HttpServer). Constructor for class sun.servlet.http.HttpServerHandler
Creates a new handler for the specified server.
HttpServlet(). Constructor for class java.servlet.http.HttpServlet
HttpUtils(). Constructor for class java.servlet.http.HttpUtils

I

in. Variable in class sun.servlet.http.HttpInputStream
The actual input stream for this request.
in. Variable in class sun.servlet.http.HttpRequest
The input stream for reading request data.
init(). Method in class java.servlet.GenericServlet
Initializes the servlet.
init(InputStream). Method in class sun.servlet.http.HttpInputStream
Initializes the servlet input stream with the specified raw input stream.
init(OutputStream). Method in class sun.servlet.http.HttpOutputStream
Initializes the output stream with the specified raw output stream.
init(ServletConfig). Method in class java.servlet.GenericServlet
Initializes the servlet.
init(ServletConfig). Method in interface java.servlet.Servlet
Initializes the servlet.
init(ServletConnection). Method in class sun.servlet.http.HttpRequest
Initializes the request using the specified servlet connection.
init(ServletConnection). Method in class sun.servlet.http.HttpResponse
Initializes this response with the specified servlet connection.
intValue. Variable in class sun.servlet.http.MimeHeaderField
The header field integer value.
InvalidRequestException(). Constructor for class sun.servlet.http.InvalidRequestException
Constructs an exception with no detail message.
InvalidRequestException(String). Constructor for class sun.servlet.http.InvalidRequestException
Constructs an invalid request exception with the specified detail message.
isFullRequest(). Method in class sun.servlet.http.HttpRequest
Returns true if this is a full (i.e.
isFullRequest(). Method in class sun.servlet.http.HttpRequestLine
Returns true if this is a full (i.e.
isLeapYear(int). Static method in class sun.servlet.http.HttpDate
Returns true if the specified year is a leap year.
isProxyRequest(). Method in class sun.servlet.http.HttpRequest
Returns true if this is a proxy request.
isProxyRequest(). Method in class sun.servlet.http.HttpRequestLine
Returns true if this is a proxy request.
isSet(). Method in class sun.servlet.http.MessageBytes
Returns true if the message bytes have been set.
isSet(). Method in class sun.servlet.http.MessageString
Returns true if the message string is set.

K

keepAlive. Variable in class sun.servlet.http.HttpRequest
Set to true if the connection should be kept alive.
keepAlive. Variable in class sun.servlet.http.HttpResponse
Set to true when keep-alive is enabled.

L

length. Variable in class sun.servlet.http.HttpInputStream
The content length for this request.
length. Variable in class sun.servlet.http.HttpOutputStream
The content length for this stream.
length. Variable in class sun.servlet.http.HttpRequest
The content length for this request.
length. Variable in class sun.servlet.http.MessageBytes
The length of the bytes.
length(). Method in class sun.servlet.http.MessageBytes
Returns the length of the message bytes.
length(). Method in class sun.servlet.http.MessageString
Returns the length of the message string.
limit. Variable in class sun.servlet.http.HttpInputStream
The maximum number of bytes for the current request.
limit. Variable in class sun.servlet.http.HttpOutputStream
The maximum number of bytes that can be written.
line. Variable in class sun.servlet.http.HttpRequest
The request line.
line. Variable in class sun.servlet.http.HttpRequestLine
The entire request line.
loadClass(String, boolean). Method in class sun.servlet.ServletLoader
Returns the Class for the specified class name.
loadClass(String, String). Method in class sun.servlet.ServletLoader
loader. Variable in class sun.servlet.http.HttpServer
The servlet loader.
loadProperties(Properties). Method in class sun.servlet.http.HttpServer
Loads parameters from the specified properties.
loadServlet(String, ServletConfig). Method in class sun.servlet.ServletLoader
log(String). Method in class java.servlet.GenericServlet
Logs the class name of the servlet and the given message to the servlet log file.
log(String). Method in class sun.servlet.http.HttpServer
Writes a message to the servlet log.
log(String). Method in interface java.servlet.ServletContext
Writes a message to the servlet log file.

M

main(String[]). Static method in class sun.servlet.http.HttpServer
Runs the HTTP server.
maxHandlers. Variable in class sun.servlet.http.HttpServer
The maximum number of handler threads.
MAXLINE. Static variable in class sun.servlet.http.HttpRequestLine
The maximum size of a request line.
mday. Variable in class sun.servlet.http.HttpDate
Day of the month, 1-based
MessageBytes(). Constructor for class sun.servlet.http.MessageBytes
Creates a new, uninitialized MessageBytes object.
MessageBytes(byte[], int, int). Constructor for class sun.servlet.http.MessageBytes
Creates a new MessageBytes object with the specified bytes.
MessageString(). Constructor for class sun.servlet.http.MessageString
Creates a new, uninitialized message string.
MessageString(byte[], int, int). Constructor for class sun.servlet.http.MessageString
Creates a new message string with the specified bytes.
MessageString(String). Constructor for class sun.servlet.http.MessageString
Creates a new message string with the specified String object.
method. Variable in class sun.servlet.http.HttpRequestLine
The request method.
MimeHeaderField(). Constructor for class sun.servlet.http.MimeHeaderField
Creates a new, uninitialized header field.
MimeHeaders(). Constructor for class sun.servlet.http.MimeHeaders
Creates a new MimeHeaders object using a default buffer size.
MimeHeaders(int). Constructor for class sun.servlet.http.MimeHeaders
Creates a new MimeHeaders object using the specified buffer size.
min. Variable in class sun.servlet.http.HttpDate
Minutes, 0-based
mon. Variable in class sun.servlet.http.HttpDate
Month, 0-based
months. Static variable in class sun.servlet.http.HttpDate
Months of the year.

N

name. Variable in class sun.servlet.http.HttpServer
The name of the server.
name. Variable in class sun.servlet.http.MimeHeaderField
The header field name.
nameEquals(byte[], int, int). Method in class sun.servlet.http.MimeHeaderField
Returns true if the header field has the specified name.
nameEquals(String). Method in class sun.servlet.http.MimeHeaderField
Returns true if the header field has the specified name.
names(). Method in class sun.servlet.http.MimeHeaders
Returns an enumeration of strings representing the header field names.
next(). Method in class sun.servlet.http.HttpInputStream
Begins reading the next request.
next(). Method in class sun.servlet.http.HttpOutputStream
Begins the next response.
next(). Method in class sun.servlet.http.HttpRequest
Reads the next request from the current connection.
next(). Method in class sun.servlet.http.HttpResponse
Begins the next response.

O

obs. Variable in class sun.servlet.http.HttpOutputStream
The observer that will be notified when the stream is first written.
offset. Variable in class sun.servlet.http.MessageBytes
The start offset of the bytes.
out. Variable in class sun.servlet.http.HttpOutputStream
The actual output stream.
out. Variable in class sun.servlet.http.HttpResponse
The output stream for writing response data.

P

params. Variable in class sun.servlet.http.HttpRequestLine
Hashtable of the name=value pairs encoded in the query string.
parse(byte[], int, int). Method in class sun.servlet.http.HttpDate
Parses an RFC 1123, RFC 1036, or ANSI C asctime() format date string from the specified byte array.
parse(byte[], int, int). Method in class sun.servlet.http.HttpRequestLine
Parses an HTTP request line from the specified subarray of bytes.
parse(byte[], int, int). Method in class sun.servlet.http.MimeHeaderField
Parses a header field from a subarray of bytes.
parse(ServletInputStream). Method in class sun.servlet.http.HttpRequestLine
Parse a new request line from the specified input stream.
parse(String). Method in class sun.servlet.http.HttpDate
Parses an RFC 1123, RFC 1036, or ANSI C asctime() format date string from the specified string.
parsePath(MessageBytes, HttpRequest). Method in class sun.servlet.http.HttpServerHandler
Parses a servlet path.
parseQueryString(String). Static method in class java.servlet.http.HttpUtils
Parses a query string and builds a hashtable of key, value pairs.
path. Variable in class sun.servlet.http.HttpRequestLine
The request path.
pathInfo. Variable in class sun.servlet.http.HttpRequest
The path info for the request.
port. Variable in class sun.servlet.http.HttpServer
The server port number.
pos. Variable in class sun.servlet.http.HttpInputStream
The current position in the buffer.
PREFIX. Static variable in class sun.servlet.http.HttpServerHandler
The URL prefix for invoking servlets.
PREFIX_LEN. Static variable in class sun.servlet.http.HttpServerHandler
The servlet URL prefix length.
print(boolean). Method in class java.servlet.ServletOutputStream
Prints a boolean.
print(char). Method in class java.servlet.ServletOutputStream
print(double). Method in class java.servlet.ServletOutputStream
Prints a double.
print(float). Method in class java.servlet.ServletOutputStream
Prints a float.
print(HttpDate). Method in class sun.servlet.http.HttpOutputStream
Prints an HttpDate object.
print(int). Method in class java.servlet.ServletOutputStream
Prints an integer.
print(long). Method in class java.servlet.ServletOutputStream
Prints a long.
print(String). Method in class sun.servlet.http.HttpOutputStream
Prints a string.
print(String). Method in class java.servlet.ServletOutputStream
Prints a string.
println(). Method in class java.servlet.ServletOutputStream
Prints a CRLF.
println(boolean). Method in class java.servlet.ServletOutputStream
Prints a boolean followed by a CRLF.
println(char). Method in class java.servlet.ServletOutputStream
println(double). Method in class java.servlet.ServletOutputStream
Prints a double followed by a CRLF.
println(float). Method in class java.servlet.ServletOutputStream
Prints a float followed by a CRLF.
println(int). Method in class java.servlet.ServletOutputStream
Prints an integer followed by a CRLF.
println(long). Method in class java.servlet.ServletOutputStream
Prints a long followed by a CRLF.
println(String). Method in class java.servlet.ServletOutputStream
Prints a string followed by a CRLF.
printSettings(). Method in class sun.servlet.http.HttpServer
protocol. Variable in class sun.servlet.http.HttpRequestLine
The protocol for the request.
protocol. Variable in class sun.servlet.http.HttpResponse
The protocol of the response.
proxy. Variable in class sun.servlet.http.HttpRequestLine
Set to true if proxy request.
putConnection(Socket). Method in class sun.servlet.http.HttpServer
Places the specified socket connection on the queue of pending connections.
putDateHeader(String). Method in class sun.servlet.http.MimeHeaders
Sets a header field date value to the current time.
putDateHeader(String, long). Method in class sun.servlet.http.MimeHeaders
Sets a header field date value to the specified time.
putHeader(). Method in class sun.servlet.http.MimeHeaders
Creates a new header field.
putHeader(String). Method in class sun.servlet.http.MimeHeaders
Searches for a header field corresponding to the specified name and creates a new one if not found.
putHeader(String, String). Method in class sun.servlet.http.MimeHeaders
Sets a header field value to the specified string.
putIntHeader(String, int). Method in class sun.servlet.http.MimeHeaders
Sets a header field value to the specified integer.

Q

query. Variable in class sun.servlet.http.HttpRequestLine
The query string for the request.

R

read(). Method in class sun.servlet.http.HttpInputStream
Reads a byte of data.
read(byte[], int, int). Method in class sun.servlet.http.HttpInputStream
Reads into an array of bytes.
read(ServletInputStream). Method in class sun.servlet.http.MimeHeaders
Reads header fields from the specified servlet input stream until a blank line is encountered.
readLine(byte[], int, int). Method in class sun.servlet.http.HttpInputStream
Reads into an array of bytes until all requested bytes have been read or a '\n' is encountered, in which case the '\n' is read into the array as well.
readLine(byte[], int, int). Method in class java.servlet.ServletInputStream
Reads into an array of bytes until all requested bytes have been read or a '\n' is encountered, in which case the '\n' is read into the array as well.
reason. Variable in class sun.servlet.http.HttpResponse
The status message of the response.
reason(int). Method in class sun.servlet.http.HttpResponse
Returns a default reason phrase for the specified status code.
remoteUser. Variable in class sun.servlet.http.HttpRequest
The remote user for the request.
removeHeader(String). Method in class sun.servlet.http.MimeHeaders
Removes the specified header field.
req. Variable in class sun.servlet.http.HttpServerHandler
The servlet request.
res. Variable in class sun.servlet.http.HttpServerHandler
The servlet response.
reset(). Method in class sun.servlet.http.HttpRequest
Resets the servlet request.
reset(). Method in class sun.servlet.http.HttpRequestLine
Resets RequestLine object to an uninitialized state.
reset(). Method in class sun.servlet.http.HttpResponse
Resets the servlet response.
reset(). Method in class sun.servlet.http.MessageBytes
Resets the message bytes to an uninitialized state.
reset(). Method in class sun.servlet.http.MessageString
Resets the message string to an uninitialized state.
reset(). Method in class sun.servlet.http.MimeHeaderField
Resets the header field to an uninitialized state.
resets(). Method in class sun.servlet.http.HttpInputStream
Resets the input stream for a new connection.
resets(). Method in class sun.servlet.http.HttpOutputStream
Resets the output stream for a new connection.
run(). Method in class sun.servlet.http.HttpServer
Runs the servlet server.
run(). Method in class sun.servlet.http.HttpServerHandler
Runs the connection handler.

S

SC_ACCEPTED. Static variable in interface java.servlet.http.HttpServletResponse
SC_BAD_GATEWAY. Static variable in interface java.servlet.http.HttpServletResponse
SC_BAD_REQUEST. Static variable in interface java.servlet.http.HttpServletResponse
SC_CREATED. Static variable in interface java.servlet.http.HttpServletResponse
SC_FORBIDDEN. Static variable in interface java.servlet.http.HttpServletResponse
SC_INTERNAL_SERVER_ERROR. Static variable in interface java.servlet.http.HttpServletResponse
SC_MOVED_PERMANENTLY. Static variable in interface java.servlet.http.HttpServletResponse
SC_MOVED_TEMPORARILY. Static variable in interface java.servlet.http.HttpServletResponse
SC_NO_CONTENT. Static variable in interface java.servlet.http.HttpServletResponse
SC_NOT_FOUND. Static variable in interface java.servlet.http.HttpServletResponse
SC_NOT_IMPLEMENTED. Static variable in interface java.servlet.http.HttpServletResponse
SC_NOT_MODIFIED. Static variable in interface java.servlet.http.HttpServletResponse
SC_OK. Static variable in interface java.servlet.http.HttpServletResponse
SC_SERVICE_UNAVAILABLE. Static variable in interface java.servlet.http.HttpServletResponse
SC_UNAUTHORIZED. Static variable in interface java.servlet.http.HttpServletResponse
sec. Variable in class sun.servlet.http.HttpDate
Seconds, 0-based
sendError(int). Method in class sun.servlet.http.HttpResponse
Sends an error response to the client using the specified status code and no default message.
sendError(int). Method in interface java.servlet.http.HttpServletResponse
Sends an error response to the client using the specified status code and no default message.
sendError(int, String). Method in class sun.servlet.http.HttpResponse
Sends an error response to the client using the specified status code and detail message.
sendError(int, String). Method in interface java.servlet.http.HttpServletResponse
Sends an error response to the client using the specified status code and detail message.
sendFile(MessageBytes, HttpResponse). Method in class sun.servlet.http.HttpServerHandler
Fetches a file from the document tree.
sendRedirect(String). Method in class sun.servlet.http.HttpResponse
Sends a redirect response to the client using the specified redirect location URL.
sendRedirect(String). Method in interface java.servlet.http.HttpServletResponse
Sends a redirect response to the client using the specified redirect location URL.
sendResponse(HttpRequest, HttpResponse). Method in class sun.servlet.http.HttpServerHandler
Sends a response to the client.
server. Variable in class sun.servlet.http.HttpServerHandler
The server for this handler.
service(HttpServletRequest, HttpServletResponse). Method in class java.servlet.http.HttpServlet
Services a single HTTP request from the client.
service(ServletRequest, ServletResponse). Method in class java.servlet.GenericServlet
Services a single request from the client.
service(ServletRequest, ServletResponse). Method in class java.servlet.http.HttpServlet
Services a single request from the client.
service(ServletRequest, ServletResponse). Method in interface java.servlet.Servlet
Services a single request from the client.
servletDir. Variable in class sun.servlet.http.HttpServer
The directory where servlets are stored.
ServletException(String). Constructor for class java.servlet.ServletException
Constructs a new ServletException with the specified detail message.
ServletInputStream(). Constructor for class java.servlet.ServletInputStream
ServletLoader(String). Constructor for class sun.servlet.ServletLoader
ServletOutputStream(). Constructor for class java.servlet.ServletOutputStream
servletPath. Variable in class sun.servlet.http.HttpRequest
The servlet path for the request.
servlets. Variable in class sun.servlet.ServletLoader
setAuthType(byte[], int, int). Method in class sun.servlet.http.HttpRequest
Sets the authentication scheme of the request to the specified bytes.
setAuthType(String). Method in class sun.servlet.http.HttpRequest
Sets the authentication scheme of the request to the specified String.
setBytes(byte[], int, int). Method in class sun.servlet.http.MessageBytes
Sets the message bytes to the specified subarray of bytes.
setBytes(byte[], int, int). Method in class sun.servlet.http.MessageString
Sets the message string to the specified bytes.
setContentLength(int). Method in class sun.servlet.http.HttpInputStream
Sets the content length for this input stream.
setContentLength(int). Method in class sun.servlet.http.HttpOutputStream
Sets the content length for this output stream.
setContentLength(int). Method in class sun.servlet.http.HttpResponse
Sets the content length for this response.
setContentLength(int). Method in interface java.servlet.ServletResponse
Sets the content length for this response.
setContentType(String). Method in class sun.servlet.http.HttpResponse
Sets the content type for this response.
setContentType(String). Method in interface java.servlet.ServletResponse
Sets the content type for this response.
setDateHeader(String). Method in class sun.servlet.http.HttpResponse
Sets a date header to the current time.
setDateHeader(String, long). Method in class sun.servlet.http.HttpResponse
Sets a date header to the specified time.
setDateHeader(String, long). Method in interface java.servlet.http.HttpServletResponse
Sets the value of a date header field.
setDateValue(). Method in class sun.servlet.http.MimeHeaderField
Sets the header field date value to the current time.
setDateValue(long). Method in class sun.servlet.http.MimeHeaderField
Sets the header field date value to the specified time.
setHeader(String, String). Method in class sun.servlet.http.HttpRequest
Sets the value of a header field to the specified String.
setHeader(String, String). Method in class sun.servlet.http.HttpResponse
Sets a header to the specified string value.
setHeader(String, String). Method in interface java.servlet.http.HttpServletResponse
Sets the value of a header field.
setIntHeader(String, int). Method in class sun.servlet.http.HttpResponse
Sets a header to the specified integer value.
setIntHeader(String, int). Method in interface java.servlet.http.HttpServletResponse
Sets the value of an integer header field.
setIntValue(int). Method in class sun.servlet.http.MimeHeaderField
Sets the header field to the specified integer value.
setIOException(IOException). Method in class sun.servlet.http.HttpOutputStream
Sets the pending IOException for this output stream.
setKeepAlive(boolean). Method in class sun.servlet.http.HttpRequest
Used to indicate whether this connection should be kept alive.
setKeepAlive(boolean). Method in class sun.servlet.http.HttpResponse
Used to indicate whether this connection should be kept alive.
setName(byte[], int, int). Method in class sun.servlet.http.MimeHeaderField
Sets the header field name to the specified subarray of bytes.
setName(String). Method in class sun.servlet.http.MimeHeaderField
Sets the header field name to the specified string.
setObserver(Observer). Method in class sun.servlet.http.HttpOutputStream
Sets an observer for this output stream.
setPathInfo(byte[], int, int). Method in class sun.servlet.http.HttpRequest
Sets the path info for the request to the specified bytes.
setPathInfo(String). Method in class sun.servlet.http.HttpRequest
Sets the path info for the request to the specified string.
setProtocol(String). Method in class sun.servlet.http.HttpResponse
Sets the protocol of the response.
setRemoteUser(byte[], int, int). Method in class sun.servlet.http.HttpRequest
Sets the name of the user making this request to the specified bytes.
setRemoteUser(String). Method in class sun.servlet.http.HttpRequest
Sets the name of the user making this request to the specified String.
setServletPath(byte[], int, int). Method in class sun.servlet.http.HttpRequest
Sets the servlet path for the request to the specified bytes.
setServletPath(String). Method in class sun.servlet.http.HttpRequest
Sets the servlet path for the request to the specified string.
setStatus(int). Method in class sun.servlet.http.HttpResponse
Sets the status code and a default message for this response.
setStatus(int). Method in interface java.servlet.http.HttpServletResponse
Sets the status code and a default message for this response.
setStatus(int, String). Method in class sun.servlet.http.HttpResponse
Sets the status code and message for this response.
setStatus(int, String). Method in interface java.servlet.http.HttpServletResponse
Sets the status code and message for this response.
setString(String). Method in class sun.servlet.http.MessageString
Sets the message string to the specified String.
setTime(). Method in class sun.servlet.http.HttpDate
Sets this HttpDate to the current time.
setTime(long). Method in class sun.servlet.http.HttpDate
Sets this HttpDate to the specified time.
setValue(byte[], int, int). Method in class sun.servlet.http.MimeHeaderField
Sets the header field value to the specified subarray of bytes.
setValue(String). Method in class sun.servlet.http.MimeHeaderField
Sets the header field value to the specified string.
size. Variable in class sun.servlet.http.HttpRequestLine
The request line buffer size.
size(). Method in class sun.servlet.http.MimeHeaders
Returns the current number of header fields.
skip(long). Method in class sun.servlet.http.HttpInputStream
Skips n bytes of input.
socket. Variable in class sun.servlet.http.HttpServerHandler
The current socket connection.
startsWith(String). Method in class sun.servlet.http.MessageBytes
Returns true if the message bytes starts with the specified string.
startsWith(String). Method in class sun.servlet.http.MessageString
Returns true if the message string starts with the specified string.
status. Variable in class sun.servlet.http.HttpResponse
The status code of the response.
str. Variable in class sun.servlet.http.MessageString
The message String.

T

T_DATE. Static variable in class sun.servlet.http.MimeHeaderField
T_INT. Static variable in class sun.servlet.http.MimeHeaderField
T_NULL. Static variable in class sun.servlet.http.MimeHeaderField
T_STR. Static variable in class sun.servlet.http.MimeHeaderField
timeout. Variable in class sun.servlet.http.HttpServer
The handler timeout in milliseconds.
toBytes(String). Static method in class sun.servlet.http.HttpDate
Converts the specified string to an array of ascii bytes.
toDate(HttpDate). Method in class sun.servlet.http.MessageBytes
Returns the message bytes parsed as a date.
toDate(HttpDate). Method in class sun.servlet.http.MessageString
Returns the message string parsed as a date.
toInteger(). Method in class sun.servlet.http.MessageBytes
Returns the message bytes parsed as an unsigned integer.
toInteger(). Method in class sun.servlet.http.MessageString
Returns the message string parsed as an unsigned integer.
toString(). Method in class sun.servlet.http.HttpDate
Returns a string representation of the date.
toString(). Method in class sun.servlet.http.HttpRequestLine
Returns a string representing the request line.
toString(). Method in class sun.servlet.http.MessageBytes
Returns the message bytes as a String object.
toString(). Method in class sun.servlet.http.MessageString
Returns the message string as a String object.
toString(). Method in class sun.servlet.http.MimeHeaderField
Returns a string representation of the header field.
toString(). Method in class sun.servlet.http.MimeHeaders
Returns a lengthly string representation of the current header fields.
total. Variable in class sun.servlet.http.HttpInputStream
The total number of bytes for the current request.
total. Variable in class sun.servlet.http.HttpOutputStream
The total number of bytes written so far.
total. Variable in class sun.servlet.http.HttpServer
The total number of active handlers.
type. Variable in class sun.servlet.http.MimeHeaderField
The header field value type.

U

update(Observable, Object). Method in class sun.servlet.http.HttpResponse
This method is called for a full request when the servlet first writes to the output stream.
updater. Static variable in class sun.servlet.http.HttpDate
Maintains updated current time.
uri. Variable in class sun.servlet.http.HttpRequestLine
The request URI.

V

value. Variable in class sun.servlet.http.MimeHeaderField
The header field value.
verbose. Variable in class sun.servlet.http.HttpServer
Set to true for verbose output.

W

wday. Variable in class sun.servlet.http.HttpDate
Weekday: Sun = 0, Sat = 6
write(byte[], int, int). Method in class sun.servlet.http.HttpOutputStream
Writes an array of bytes.
write(int). Method in class sun.servlet.http.HttpOutputStream
Writes a byte.
write(OutputStream). Method in class sun.servlet.http.HttpDate
Writes an RFC 1123 formatted date to the specified output stream.
write(OutputStream). Method in class sun.servlet.http.HttpRequestLine
Writes the request line to the specified output stream.
write(OutputStream). Method in class sun.servlet.http.MessageBytes
Writes the message bytes to the specified output stream.
write(ServletOutputStream). Method in class sun.servlet.http.MessageString
Writes the message string to the specified servlet output stream.
write(ServletOutputStream). Method in class sun.servlet.http.MimeHeaderField
Writes this header field to the specified servlet output stream.
write(ServletOutputStream). Method in class sun.servlet.http.MimeHeaders
Writes out header fields to the specified servlet output stream.
writeHeaders(). Method in class sun.servlet.http.HttpResponse

Y

year. Variable in class sun.servlet.http.HttpDate
Years since 1900