Skip navigation links
A B C D E F G H I L M P R S T U V W 

A

available() - Method in class com.oreilly.servlet.multipart.PartInputStream
Returns the number of bytes that can be read from this input stream without blocking.

B

Base64Decoder - Class in com.oreilly.servlet
A class to decode Base64 streams and strings.
Base64Decoder(InputStream) - Constructor for class com.oreilly.servlet.Base64Decoder
Constructs a new Base64 decoder that reads input from the given InputStream.
Base64Encoder - Class in com.oreilly.servlet
A class to encode Base64 streams and strings.
Base64Encoder(OutputStream) - Constructor for class com.oreilly.servlet.Base64Encoder
Constructs a new Base64 encoder that writes output to the given OutputStream.
bcc(String) - Method in class com.oreilly.servlet.MailMessage
Sets the bcc address.
bind() - Method in class com.oreilly.servlet.RemoteDaemonHttpServlet
Binds the servlet to the registry.
bind() - Method in class com.oreilly.servlet.RemoteHttpServlet
Binds the servlet to the registry.
BufferedServletInputStream - Class in com.oreilly.servlet.multipart
A BufferedServletInputStream wraps a ServletInputStream in order to provide input buffering and to avoid calling the the readLine method of the wrapped ServletInputStream.
BufferedServletInputStream(ServletInputStream) - Constructor for class com.oreilly.servlet.multipart.BufferedServletInputStream
Creates a BufferedServletInputStream that wraps the provided ServletInputStream.

C

CacheHttpServlet - Class in com.oreilly.servlet
A superclass for HTTP servlets that wish to have their output cached and automatically resent as appropriate according to the servlet's getLastModified() method.
CacheHttpServlet() - Constructor for class com.oreilly.servlet.CacheHttpServlet
 
cc(String) - Method in class com.oreilly.servlet.MailMessage
Sets the cc address.
close() - Method in class com.oreilly.servlet.Base64Encoder
Closes the stream, this MUST be called to ensure proper padding is written to the end of the output stream.
close() - Method in class com.oreilly.servlet.multipart.PartInputStream
Closes this input stream and releases any system resources associated with the stream.
com.oreilly.servlet - package com.oreilly.servlet
 
com.oreilly.servlet.multipart - package com.oreilly.servlet.multipart
 
CookieNotFoundException - Exception in com.oreilly.servlet
Thrown to indicate a cookie does not exist.
CookieNotFoundException() - Constructor for exception com.oreilly.servlet.CookieNotFoundException
Constructs a new CookieNotFoundException with no detail message.
CookieNotFoundException(String) - Constructor for exception com.oreilly.servlet.CookieNotFoundException
Constructs a new CookieNotFoundException with the specified detail message.
CookieParser - Class in com.oreilly.servlet
A class to simplify cookie retrieval.
CookieParser(HttpServletRequest) - Constructor for class com.oreilly.servlet.CookieParser
Constructs a new CookieParser to handle the cookies of the given request.

D

DaemonHttpServlet - Class in com.oreilly.servlet
A superclass for HTTP servlets that wish to accept raw socket connections.
DaemonHttpServlet() - Constructor for class com.oreilly.servlet.DaemonHttpServlet
 
decode(String) - Static method in class com.oreilly.servlet.Base64Decoder
Returns the decoded form of the given encoded string, as a String.
decodeToBytes(String) - Static method in class com.oreilly.servlet.Base64Decoder
Returns the decoded form of the given encoded string, as bytes.
DEFAULT_PORT - Variable in class com.oreilly.servlet.DaemonHttpServlet
The default listening port (1313)
DefaultFileRenamePolicy - Class in com.oreilly.servlet.multipart
Implements a renaming policy that adds increasing integers to the body of any file that collides.
DefaultFileRenamePolicy() - Constructor for class com.oreilly.servlet.multipart.DefaultFileRenamePolicy
 
destroy() - Method in class com.oreilly.servlet.DaemonHttpServlet
Halts the thread listening for socket connections.
destroy() - Method in class com.oreilly.servlet.MultipartFilter
 
destroy() - Method in class com.oreilly.servlet.RemoteDaemonHttpServlet
Halts the servlet's RMI operations and halts the thread listening for socket connections.
destroy() - Method in class com.oreilly.servlet.RemoteHttpServlet
Halts the servlet's RMI operations.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.oreilly.servlet.MultipartFilter
 

E

encode(String) - Static method in class com.oreilly.servlet.Base64Encoder
Returns the encoded form of the given unencoded string.
encode(byte[]) - Static method in class com.oreilly.servlet.Base64Encoder
Returns the encoded form of the given unencoded string.
endResponse() - Method in class com.oreilly.servlet.MultipartResponse
Ends a single response.
ExceededSizeException - Exception in com.oreilly.servlet.multipart
Thrown to indicate an upload exceeded the maximum size.
ExceededSizeException() - Constructor for exception com.oreilly.servlet.multipart.ExceededSizeException
Constructs a new ExceededSizeException with no detail message.
ExceededSizeException(String) - Constructor for exception com.oreilly.servlet.multipart.ExceededSizeException
Constructs a new ExceededSizeException with the specified detail message.

F

FilePart - Class in com.oreilly.servlet.multipart
A FilePart is an upload part which represents a INPUT TYPE="file" form parameter.
FileRenamePolicy - Interface in com.oreilly.servlet.multipart
An interface to provide a pluggable file renaming policy, particularly useful to handle naming conflicts with an existing file.
files - Variable in class com.oreilly.servlet.MultipartRequest
 
finish() - Method in class com.oreilly.servlet.MultipartResponse
Finishes the multipart response.
from(String) - Method in class com.oreilly.servlet.MailMessage
Sets the from address.

G

getBooleanCookie(String) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a boolean
getBooleanCookie(String, boolean) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a boolean, with a default.
getBooleanParameter(String) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a boolean, with true indicated by "true", "on", or "yes" in any letter case, false indicated by "false", "off", or "no" in any letter case.
getBooleanParameter(String, boolean) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a boolean, with a default.
getBundle() - Method in class com.oreilly.servlet.LocaleNegotiator
Gets the chosen bundle.
getByteCookie(String) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a byte
getByteCookie(String, byte) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a byte, with a default.
getByteParameter(String) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a byte
getByteParameter(String, byte) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a byte, with a default.
getCharCookie(String) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a char
getCharCookie(String, char) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a char, with a default.
getCharParameter(String) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a char
getCharParameter(String, char) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a char, with a default.
getCharset() - Method in class com.oreilly.servlet.LocaleNegotiator
Gets the chosen charset.
getCharset(Locale) - Static method in class com.oreilly.servlet.LocaleToCharsetMap
Gets the preferred charset for the given locale, or null if the locale is not recognized.
getCharsetForLocale(Locale, String) - Method in class com.oreilly.servlet.LocaleNegotiator
Gets the best charset for a given locale, selecting from a charset list.
getContentType() - Method in class com.oreilly.servlet.multipart.FilePart
Returns the content type of the file data contained within.
getContentType(String) - Method in class com.oreilly.servlet.MultipartRequest
Returns the content type of the specified file (as supplied by the client browser), or null if the file was not included in the upload.
getContentType(String) - Method in class com.oreilly.servlet.MultipartWrapper
 
getDoubleCookie(String) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a double
getDoubleCookie(String, double) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a double, with a default.
getDoubleParameter(String) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a double
getDoubleParameter(String, double) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a double, with a default.
getFile(String) - Method in class com.oreilly.servlet.MultipartRequest
Returns a File object for the specified file saved on the server's filesystem, or null if the file was not included in the upload.
getFile(String) - Method in class com.oreilly.servlet.MultipartWrapper
 
getFileName() - Method in class com.oreilly.servlet.multipart.FilePart
Returns the name that the file was stored with on the remote system, or null if the user didn't enter a file to be uploaded.
getFileNames() - Method in class com.oreilly.servlet.MultipartRequest
Returns the names of all the uploaded files as an Enumeration of Strings.
getFileNames() - Method in class com.oreilly.servlet.MultipartWrapper
 
getFilePath() - Method in class com.oreilly.servlet.multipart.FilePart
Returns the full path and name of the file on the remote system, or null if the user didn't enter a file to be uploaded.
getFilesystemName(String) - Method in class com.oreilly.servlet.MultipartRequest
Returns the filesystem name of the specified file, or null if the file was not included in the upload.
getFilesystemName(String) - Method in class com.oreilly.servlet.MultipartWrapper
 
getFloatCookie(String) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a float
getFloatCookie(String, float) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a float, with a default.
getFloatParameter(String) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a float
getFloatParameter(String, float) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a float, with a default.
getInputStream() - Method in class com.oreilly.servlet.multipart.FilePart
Returns an input stream which contains the contents of the file supplied.
getIntCookie(String) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a int
getIntCookie(String, int) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a int, with a default.
getIntParameter(String) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a int
getIntParameter(String, int) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a int, with a default.
getJavaVersion() - Static method in class com.oreilly.servlet.VersionDetector
Determines the JDK version number.
getLocale() - Method in class com.oreilly.servlet.LocaleNegotiator
Gets the chosen locale.
getLongCookie(String) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a long
getLongCookie(String, long) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a long, with a default.
getLongParameter(String) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a long
getLongParameter(String, long) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a long, with a default.
getMissingParameters(String[]) - Method in class com.oreilly.servlet.ParameterParser
Determines which of the required parameters were missing from the request.
getName() - Method in class com.oreilly.servlet.multipart.Part
Returns the name of the form element that this Part corresponds to.
getOriginalFileName(String) - Method in class com.oreilly.servlet.MultipartRequest
Returns the original filesystem name of the specified file (before any renaming policy was applied), or null if the file was not included in the upload.
getOriginalFileName(String) - Method in class com.oreilly.servlet.MultipartWrapper
 
getParameter(String) - Method in class com.oreilly.servlet.MultipartRequest
Returns the value of the named parameter as a String, or null if the parameter was not sent or was sent without a value.
getParameter(String) - Method in class com.oreilly.servlet.MultipartWrapper
 
getParameterMap() - Method in class com.oreilly.servlet.MultipartWrapper
 
getParameterNames() - Method in class com.oreilly.servlet.MultipartRequest
Returns the names of all the parameters as an Enumeration of Strings.
getParameterNames() - Method in class com.oreilly.servlet.MultipartWrapper
 
getParameterValues(String) - Method in class com.oreilly.servlet.MultipartRequest
Returns the values of the named parameter as a String array, or null if the parameter was not sent.
getParameterValues(String) - Method in class com.oreilly.servlet.MultipartWrapper
 
getPrintStream() - Method in class com.oreilly.servlet.MailMessage
Returns a PrintStream that can be used to write the body of the message.
getRegistryName() - Method in class com.oreilly.servlet.RemoteDaemonHttpServlet
Returns the name under which the servlet should be bound in the registry.
getRegistryName() - Method in class com.oreilly.servlet.RemoteHttpServlet
Returns the name under which the servlet should be bound in the registry.
getRegistryPort() - Method in class com.oreilly.servlet.RemoteDaemonHttpServlet
Returns the port where the registry should be running.
getRegistryPort() - Method in class com.oreilly.servlet.RemoteHttpServlet
Returns the port where the registry should be running.
getResource(ServletContext, String) - Static method in class com.oreilly.servlet.ServletUtils
Gets a reference to the given resource within the given context, making sure not to serve the contents of WEB-INF, META-INF, or to display .jsp file source.
getServlet(String, ServletRequest, ServletContext) - Static method in class com.oreilly.servlet.ServletUtils
Gets a reference to the named servlet, attempting to load it through an HTTP request if necessary.
getServletVersion() - Static method in class com.oreilly.servlet.VersionDetector
Determines the Servlet API version number.
getShortCookie(String) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a short
getShortCookie(String, short) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a short, with a default.
getShortParameter(String) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a short
getShortParameter(String, short) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a short, with a default.
getSocketPort() - Method in class com.oreilly.servlet.DaemonHttpServlet
Returns the socket port on which the servlet will listen.
getStackTraceAsString(Throwable) - Static method in class com.oreilly.servlet.ServletUtils
Gets an exception's stack trace as a String
getStringCookie(String) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a String
getStringCookie(String, String) - Method in class com.oreilly.servlet.CookieParser
Gets the named cookie value as a String, with a default.
getStringParameter(String) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a String
getStringParameter(String, String) - Method in class com.oreilly.servlet.ParameterParser
Gets the named parameter value as a String, with a default.
getStringValue() - Method in class com.oreilly.servlet.multipart.ParamPart
Returns the value of the parameter in as a string (using the parser-specified encoding to convert from bytes) or the empty string if the user entered no value for this parameter.
getStringValue(String) - Method in class com.oreilly.servlet.multipart.ParamPart
Returns the value of the parameter in the supplied encoding or empty string if the user entered no value for this parameter.
getValue() - Method in class com.oreilly.servlet.multipart.ParamPart
Returns the value of the parameter as an array of bytes or a zero length array if the user entered no value for this parameter.

H

handleClient(Socket) - Method in class com.oreilly.servlet.DaemonHttpServlet
Handles a new socket connection.
HttpMessage - Class in com.oreilly.servlet
A class to simplify HTTP applet-server communication.
HttpMessage(URL) - Constructor for class com.oreilly.servlet.HttpMessage
Constructs a new HttpMessage that can be used to communicate with the servlet at the specified URL.
HttpsMessage - Class in com.oreilly.servlet
A class to simplify HTTP/HTTPS client-server communication.
HttpsMessage(String) - Constructor for class com.oreilly.servlet.HttpsMessage
Constructs a new HttpsMessage that can be used to communicate with the servlet at the specified URL using HTTPS.

I

init(ServletConfig) - Method in class com.oreilly.servlet.DaemonHttpServlet
Begins a thread listening for socket connections.
init(FilterConfig) - Method in class com.oreilly.servlet.MultipartFilter
 
init(ServletConfig) - Method in class com.oreilly.servlet.RemoteDaemonHttpServlet
Begins the servlet's RMI operations and begins a thread listening for socket connections.
init(ServletConfig) - Method in class com.oreilly.servlet.RemoteHttpServlet
Begins the servlet's RMI operations.
isFile() - Method in class com.oreilly.servlet.multipart.FilePart
Returns true to indicate this part is a file.
isFile() - Method in class com.oreilly.servlet.multipart.Part
Returns true if this Part is a FilePart.
isParam() - Method in class com.oreilly.servlet.multipart.ParamPart
Returns true to indicate this part is a parameter.
isParam() - Method in class com.oreilly.servlet.multipart.Part
Returns true if this Part is a ParamPart.

L

LimitedServletInputStream - Class in com.oreilly.servlet.multipart
A LimitedServletInputStream wraps another ServletInputStream in order to keep track of how many bytes have been read and detect when the Content-Length limit has been reached.
LimitedServletInputStream(ServletInputStream, int) - Constructor for class com.oreilly.servlet.multipart.LimitedServletInputStream
Creates a LimitedServletInputStream with the specified length limit that wraps the provided ServletInputStream.
LocaleNegotiator - Class in com.oreilly.servlet
A class to aid in servlet internationalization.
LocaleNegotiator(String, String, String) - Constructor for class com.oreilly.servlet.LocaleNegotiator
Constructs a new LocaleNegotiator for the given bundle name, language list, and charset list.
LocaleToCharsetMap - Class in com.oreilly.servlet
A mapping to determine the (somewhat arbitrarily) preferred charset for a given locale.
LocaleToCharsetMap() - Constructor for class com.oreilly.servlet.LocaleToCharsetMap
 

M

MacBinaryDecoderOutputStream - Class in com.oreilly.servlet.multipart
A MacBinaryDecoderOutput filters MacBinary files to normal files on the fly; optimized for speed more than readability.
MacBinaryDecoderOutputStream(OutputStream) - Constructor for class com.oreilly.servlet.multipart.MacBinaryDecoderOutputStream
 
MailMessage - Class in com.oreilly.servlet
A class to help send SMTP email.
MailMessage() - Constructor for class com.oreilly.servlet.MailMessage
Constructs a new MailMessage to send an email.
MailMessage(String) - Constructor for class com.oreilly.servlet.MailMessage
Constructs a new MailMessage to send an email.
main(String[]) - Static method in class com.oreilly.servlet.Base64Decoder
 
main(String[]) - Static method in class com.oreilly.servlet.Base64Encoder
 
MultipartFilter - Class in com.oreilly.servlet
A filter for easy semi-automatic handling of multipart/form-data requests (file uploads).
MultipartFilter() - Constructor for class com.oreilly.servlet.MultipartFilter
 
MultipartParser - Class in com.oreilly.servlet.multipart
A utility class to handle multipart/form-data requests, the kind of requests that support file uploads.
MultipartParser(HttpServletRequest, int) - Constructor for class com.oreilly.servlet.multipart.MultipartParser
Creates a MultipartParser from the specified request, which limits the upload size to the specified length, buffers for performance and prevent attempts to read past the amount specified by the Content-Length.
MultipartParser(HttpServletRequest, int, boolean, boolean) - Constructor for class com.oreilly.servlet.multipart.MultipartParser
Creates a MultipartParser from the specified request, which limits the upload size to the specified length, and optionally buffers for performance and prevents attempts to read past the amount specified by the Content-Length.
MultipartParser(HttpServletRequest, int, boolean, boolean, String) - Constructor for class com.oreilly.servlet.multipart.MultipartParser
Creates a MultipartParser from the specified request, which limits the upload size to the specified length, and optionally buffers for performance and prevents attempts to read past the amount specified by the Content-Length, and with a specified encoding.
MultipartRequest - Class in com.oreilly.servlet
A utility class to handle multipart/form-data requests, the kind of requests that support file uploads.
MultipartRequest(HttpServletRequest, String) - Constructor for class com.oreilly.servlet.MultipartRequest
Constructs a new MultipartRequest to handle the specified request, saving any uploaded files to the given directory, and limiting the upload size to 1 Megabyte.
MultipartRequest(HttpServletRequest, String, int) - Constructor for class com.oreilly.servlet.MultipartRequest
Constructs a new MultipartRequest to handle the specified request, saving any uploaded files to the given directory, and limiting the upload size to the specified length.
MultipartRequest(HttpServletRequest, String, String) - Constructor for class com.oreilly.servlet.MultipartRequest
Constructs a new MultipartRequest to handle the specified request, saving any uploaded files to the given directory, and limiting the upload size to the specified length.
MultipartRequest(HttpServletRequest, String, int, FileRenamePolicy) - Constructor for class com.oreilly.servlet.MultipartRequest
Constructs a new MultipartRequest to handle the specified request, saving any uploaded files to the given directory, and limiting the upload size to the specified length.
MultipartRequest(HttpServletRequest, String, int, String) - Constructor for class com.oreilly.servlet.MultipartRequest
Constructs a new MultipartRequest to handle the specified request, saving any uploaded files to the given directory, and limiting the upload size to the specified length.
MultipartRequest(HttpServletRequest, String, int, String, FileRenamePolicy) - Constructor for class com.oreilly.servlet.MultipartRequest
Constructs a new MultipartRequest to handle the specified request, saving any uploaded files to the given directory, and limiting the upload size to the specified length.
MultipartRequest(ServletRequest, String) - Constructor for class com.oreilly.servlet.MultipartRequest
Constructor with an old signature, kept for backward compatibility.
MultipartRequest(ServletRequest, String, int) - Constructor for class com.oreilly.servlet.MultipartRequest
Constructor with an old signature, kept for backward compatibility.
MultipartResponse - Class in com.oreilly.servlet
A utility class to generate multipart/x-mixed-replace responses, the kind of responses that implement server push.
MultipartResponse(HttpServletResponse) - Constructor for class com.oreilly.servlet.MultipartResponse
Constructs a new MultipartResponse to send content to the given servlet response.
MultipartWrapper - Class in com.oreilly.servlet
A request wrapper to support MultipartFilter.
MultipartWrapper(HttpServletRequest, String) - Constructor for class com.oreilly.servlet.MultipartWrapper
 

P

ParameterNotFoundException - Exception in com.oreilly.servlet
Thrown to indicate a parameter does not exist.
ParameterNotFoundException() - Constructor for exception com.oreilly.servlet.ParameterNotFoundException
Constructs a new ParameterNotFoundException with no detail message.
ParameterNotFoundException(String) - Constructor for exception com.oreilly.servlet.ParameterNotFoundException
Constructs a new ParameterNotFoundException with the specified detail message.
ParameterParser - Class in com.oreilly.servlet
A class to simplify parameter handling.
ParameterParser(ServletRequest) - Constructor for class com.oreilly.servlet.ParameterParser
Constructs a new ParameterParser to handle the parameters of the given request.
parameters - Variable in class com.oreilly.servlet.MultipartRequest
 
ParamPart - Class in com.oreilly.servlet.multipart
A ParamPart is an upload part which represents a normal INPUT (for example a non TYPE="file") form parameter.
Part - Class in com.oreilly.servlet.multipart
A Part is an abstract upload part which represents an INPUT form element in a multipart/form-data form submission.
PartInputStream - Class in com.oreilly.servlet.multipart
A PartInputStream filters a ServletInputStream, providing access to a single MIME part contained with in which ends with the boundary specified.

R

read() - Method in class com.oreilly.servlet.Base64Decoder
Returns the next decoded character from the stream, or -1 if end of stream was reached.
read(byte[], int, int) - Method in class com.oreilly.servlet.Base64Decoder
Reads decoded data into an array of bytes and returns the actual number of bytes read, or -1 if end of stream was reached.
read() - Method in class com.oreilly.servlet.multipart.BufferedServletInputStream
Implement buffering on top of the read method of the wrapped ServletInputStream.
read(byte[], int, int) - Method in class com.oreilly.servlet.multipart.BufferedServletInputStream
Implement buffering on top of the read method of the wrapped ServletInputStream.
read() - Method in class com.oreilly.servlet.multipart.LimitedServletInputStream
Implement length limitation on top of the read method of the wrapped ServletInputStream.
read(byte[], int, int) - Method in class com.oreilly.servlet.multipart.LimitedServletInputStream
Implement length limitation on top of the read method of the wrapped ServletInputStream.
read() - Method in class com.oreilly.servlet.multipart.PartInputStream
See the general contract of the read method of InputStream.
read(byte[]) - Method in class com.oreilly.servlet.multipart.PartInputStream
See the general contract of the read method of InputStream.
read(byte[], int, int) - Method in class com.oreilly.servlet.multipart.PartInputStream
See the general contract of the read method of InputStream.
readLine(byte[], int, int) - Method in class com.oreilly.servlet.multipart.BufferedServletInputStream
Implement buffering on top of the readLine method of the wrapped ServletInputStream.
readLine(byte[], int, int) - Method in class com.oreilly.servlet.multipart.LimitedServletInputStream
Implement length limitation on top of the readLine method of the wrapped ServletInputStream.
readNextPart() - Method in class com.oreilly.servlet.multipart.MultipartParser
Read the next part arriving in the stream.
registry - Variable in class com.oreilly.servlet.RemoteDaemonHttpServlet
The registry for the servlet
registry - Variable in class com.oreilly.servlet.RemoteHttpServlet
The registry for the servlet
RemoteDaemonHttpServlet - Class in com.oreilly.servlet
A superclass for any HTTP servlet that wishes to act as an RMI server and, additionally, accept raw socket connections.
RemoteDaemonHttpServlet() - Constructor for class com.oreilly.servlet.RemoteDaemonHttpServlet
 
RemoteHttpServlet - Class in com.oreilly.servlet
A superclass for any HTTP servlet that wishes to act as an RMI server.
RemoteHttpServlet() - Constructor for class com.oreilly.servlet.RemoteHttpServlet
 
rename(File) - Method in class com.oreilly.servlet.multipart.DefaultFileRenamePolicy
 
rename(File) - Method in interface com.oreilly.servlet.multipart.FileRenamePolicy
Returns a File object holding a new name for the specified file.
returnFile(String, OutputStream) - Static method in class com.oreilly.servlet.ServletUtils
Sends the contents of the specified file to the output stream
returnURL(URL, OutputStream) - Static method in class com.oreilly.servlet.ServletUtils
Sends the contents of the specified URL to the output stream
returnURL(URL, Writer) - Static method in class com.oreilly.servlet.ServletUtils
Sends the contents of the specified URL to the Writer (commonly either a PrintWriter or JspWriter)

S

sendAndClose() - Method in class com.oreilly.servlet.MailMessage
Sends the message and closes the connection to the server.
sendGetMessage() - Method in class com.oreilly.servlet.HttpMessage
Performs a GET request to the servlet, with no query string.
sendGetMessage(Properties) - Method in class com.oreilly.servlet.HttpMessage
Performs a GET request to the servlet, building a query string from the supplied properties list.
sendPostMessage() - Method in class com.oreilly.servlet.HttpMessage
Performs a POST request to the servlet, with no query string.
sendPostMessage(Properties) - Method in class com.oreilly.servlet.HttpMessage
Performs a POST request to the servlet, building post data from the supplied properties list.
sendPostMessage(Serializable) - Method in class com.oreilly.servlet.HttpMessage
Performs a POST request to the servlet, uploading a serialized object.
service(HttpServletRequest, HttpServletResponse) - Method in class com.oreilly.servlet.CacheHttpServlet
 
ServletUtils - Class in com.oreilly.servlet
A collection of static utility methods useful to servlets.
ServletUtils() - Constructor for class com.oreilly.servlet.ServletUtils
 
setAuthorization(String, String) - Method in class com.oreilly.servlet.HttpMessage
Sets the authorization information for the request (using BASIC authentication via the HTTP Authorization header).
setCharacterEncoding(String) - Method in class com.oreilly.servlet.ParameterParser
Sets the character encoding (charset) of the request to help the parser properly decode parameter values.
setCookie(String, String) - Method in class com.oreilly.servlet.HttpMessage
Sets a request cookie with the given name and value.
setEncoding(String) - Method in class com.oreilly.servlet.multipart.MultipartParser
Sets the encoding used to parse from here onward.
setHeader(String, String) - Method in class com.oreilly.servlet.HttpMessage
Sets a request header with the given name and value.
setHeader(String, String) - Method in class com.oreilly.servlet.MailMessage
Sets the named header to the given value.
setRenamePolicy(FileRenamePolicy) - Method in class com.oreilly.servlet.multipart.FilePart
Puts in place the specified policy for handling file name collisions.
setSubject(String) - Method in class com.oreilly.servlet.MailMessage
Sets the subject of the mail message.
split(String, String) - Static method in class com.oreilly.servlet.ServletUtils
Splits a String into pieces according to a delimiter.
startResponse(String) - Method in class com.oreilly.servlet.MultipartResponse
Begins a single response with the specified content type.

T

to(String) - Method in class com.oreilly.servlet.MailMessage
Sets the to address.

U

unbind() - Method in class com.oreilly.servlet.RemoteDaemonHttpServlet
Unbinds the servlet from the registry.
unbind() - Method in class com.oreilly.servlet.RemoteHttpServlet
Unbinds the servlet from the registry.

V

VersionDetector - Class in com.oreilly.servlet
A class to determine the current Servlet API version number, and the current JDK version number.
VersionDetector() - Constructor for class com.oreilly.servlet.VersionDetector
 

W

write(int) - Method in class com.oreilly.servlet.Base64Encoder
Writes the given byte to the output stream in an encoded form.
write(byte[], int, int) - Method in class com.oreilly.servlet.Base64Encoder
Writes the given byte array to the output stream in an encoded form.
write(int) - Method in class com.oreilly.servlet.multipart.MacBinaryDecoderOutputStream
 
write(byte[]) - Method in class com.oreilly.servlet.multipart.MacBinaryDecoderOutputStream
 
write(byte[], int, int) - Method in class com.oreilly.servlet.multipart.MacBinaryDecoderOutputStream
 
writeTo(File) - Method in class com.oreilly.servlet.multipart.FilePart
Write this file part to a file or directory.
writeTo(OutputStream) - Method in class com.oreilly.servlet.multipart.FilePart
Write this file part to the given output stream.
A B C D E F G H I L M P R S T U V W 
Skip navigation links