- getBooleanCookie(String) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a boolean
- getBooleanCookie(String, boolean) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a boolean, with a default.
- getBooleanParameter(String) - 类 中的方法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) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a boolean, with a default.
- getBundle() - 类 中的方法com.oreilly.servlet.LocaleNegotiator
-
Gets the chosen bundle.
- getByteCookie(String) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a byte
- getByteCookie(String, byte) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a byte, with a default.
- getByteParameter(String) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a byte
- getByteParameter(String, byte) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a byte, with a default.
- getCharCookie(String) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a char
- getCharCookie(String, char) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a char, with a default.
- getCharParameter(String) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a char
- getCharParameter(String, char) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a char, with a default.
- getCharset() - 类 中的方法com.oreilly.servlet.LocaleNegotiator
-
Gets the chosen charset.
- getCharset(Locale) - 类 中的静态方法com.oreilly.servlet.LocaleToCharsetMap
-
Gets the preferred charset for the given locale, or null if the locale
is not recognized.
- getCharsetForLocale(Locale, String) - 类 中的方法com.oreilly.servlet.LocaleNegotiator
-
Gets the best charset for a given locale, selecting from a charset list.
- getContentType() - 类 中的方法com.oreilly.servlet.multipart.FilePart
-
Returns the content type of the file data contained within.
- getContentType(String) - 类 中的方法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) - 类 中的方法com.oreilly.servlet.MultipartWrapper
-
- getDoubleCookie(String) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a double
- getDoubleCookie(String, double) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a double, with a default.
- getDoubleParameter(String) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a double
- getDoubleParameter(String, double) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a double, with a default.
- getFile(String) - 类 中的方法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) - 类 中的方法com.oreilly.servlet.MultipartWrapper
-
- getFileName() - 类 中的方法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() - 类 中的方法com.oreilly.servlet.MultipartRequest
-
Returns the names of all the uploaded files as an Enumeration of
Strings.
- getFileNames() - 类 中的方法com.oreilly.servlet.MultipartWrapper
-
- getFileNameSet() - 类 中的方法com.oreilly.servlet.MultipartRequest
-
jfinal 3.2 以及后续版本使用该方法来取出上传文件的文件名
避免构造 Enumeration 对象
- getFilePath() - 类 中的方法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) - 类 中的方法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) - 类 中的方法com.oreilly.servlet.MultipartWrapper
-
- getFloatCookie(String) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a float
- getFloatCookie(String, float) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a float, with a default.
- getFloatParameter(String) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a float
- getFloatParameter(String, float) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a float, with a default.
- getInputStream() - 类 中的方法com.oreilly.servlet.multipart.FilePart
-
Returns an input stream which contains the contents of the
file supplied.
- getIntCookie(String) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a int
- getIntCookie(String, int) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a int, with a default.
- getIntParameter(String) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a int
- getIntParameter(String, int) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a int, with a default.
- getJavaVersion() - 类 中的静态方法com.oreilly.servlet.VersionDetector
-
Determines the JDK version number.
- getLocale() - 类 中的方法com.oreilly.servlet.LocaleNegotiator
-
Gets the chosen locale.
- getLongCookie(String) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a long
- getLongCookie(String, long) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a long, with a default.
- getLongParameter(String) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a long
- getLongParameter(String, long) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a long, with a default.
- getMissingParameters(String[]) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Determines which of the required parameters were missing from the
request.
- getName() - 类 中的方法com.oreilly.servlet.multipart.Part
-
Returns the name of the form element that this Part corresponds to.
- getOriginalFileName(String) - 类 中的方法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) - 类 中的方法com.oreilly.servlet.MultipartWrapper
-
- getParameter(String) - 类 中的方法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) - 类 中的方法com.oreilly.servlet.MultipartWrapper
-
- getParameterMap() - 类 中的方法com.oreilly.servlet.MultipartWrapper
-
- getParameterNames() - 类 中的方法com.oreilly.servlet.MultipartRequest
-
Returns the names of all the parameters as an Enumeration of
Strings.
- getParameterNames() - 类 中的方法com.oreilly.servlet.MultipartWrapper
-
- getParameterValues(String) - 类 中的方法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) - 类 中的方法com.oreilly.servlet.MultipartWrapper
-
- getPrintStream() - 类 中的方法com.oreilly.servlet.MailMessage
-
Returns a PrintStream that can be used to write the body of the message.
- getRegistryName() - 类 中的方法com.oreilly.servlet.RemoteDaemonHttpServlet
-
Returns the name under which the servlet should be bound in the
registry.
- getRegistryName() - 类 中的方法com.oreilly.servlet.RemoteHttpServlet
-
Returns the name under which the servlet should be bound in the
registry.
- getRegistryPort() - 类 中的方法com.oreilly.servlet.RemoteDaemonHttpServlet
-
Returns the port where the registry should be running.
- getRegistryPort() - 类 中的方法com.oreilly.servlet.RemoteHttpServlet
-
Returns the port where the registry should be running.
- getResource(ServletContext, String) - 类 中的静态方法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) - 类 中的静态方法com.oreilly.servlet.ServletUtils
-
Gets a reference to the named servlet, attempting to load it
through an HTTP request if necessary.
- getServletVersion() - 类 中的静态方法com.oreilly.servlet.VersionDetector
-
Determines the Servlet API version number.
- getShortCookie(String) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a short
- getShortCookie(String, short) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a short, with a default.
- getShortParameter(String) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a short
- getShortParameter(String, short) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a short, with a default.
- getSocketPort() - 类 中的方法com.oreilly.servlet.DaemonHttpServlet
-
Returns the socket port on which the servlet will listen.
- getStackTraceAsString(Throwable) - 类 中的静态方法com.oreilly.servlet.ServletUtils
-
Gets an exception's stack trace as a String
- getStringCookie(String) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a String
- getStringCookie(String, String) - 类 中的方法com.oreilly.servlet.CookieParser
-
Gets the named cookie value as a String, with a default.
- getStringParameter(String) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a String
- getStringParameter(String, String) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Gets the named parameter value as a String, with a default.
- getStringValue() - 类 中的方法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) - 类 中的方法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() - 类 中的方法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.
- MacBinaryDecoderOutputStream - com.oreilly.servlet.multipart中的类
-
A MacBinaryDecoderOutput filters MacBinary files to normal
files on the fly; optimized for speed more than readability.
- MacBinaryDecoderOutputStream(OutputStream) - 类 的构造器com.oreilly.servlet.multipart.MacBinaryDecoderOutputStream
-
- MailMessage - com.oreilly.servlet中的类
-
A class to help send SMTP email.
- MailMessage() - 类 的构造器com.oreilly.servlet.MailMessage
-
Constructs a new MailMessage to send an email.
- MailMessage(String) - 类 的构造器com.oreilly.servlet.MailMessage
-
Constructs a new MailMessage to send an email.
- main(String[]) - 类 中的静态方法com.oreilly.servlet.Base64Decoder
-
- main(String[]) - 类 中的静态方法com.oreilly.servlet.Base64Encoder
-
- MultipartFilter - com.oreilly.servlet中的类
-
A filter for easy semi-automatic handling of multipart/form-data requests
(file uploads).
- MultipartFilter() - 类 的构造器com.oreilly.servlet.MultipartFilter
-
- MultipartParser - com.oreilly.servlet.multipart中的类
-
A utility class to handle multipart/form-data requests,
the kind of requests that support file uploads.
- MultipartParser(HttpServletRequest, long) - 类 的构造器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, long, boolean, boolean) - 类 的构造器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, long, boolean, boolean, String) - 类 的构造器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 - com.oreilly.servlet中的类
-
A utility class to handle multipart/form-data requests,
the kind of requests that support file uploads.
- MultipartRequest(HttpServletRequest, String) - 类 的构造器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, long) - 类 的构造器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) - 类 的构造器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, long, FileRenamePolicy) - 类 的构造器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, long, String) - 类 的构造器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, long, String, FileRenamePolicy) - 类 的构造器com.oreilly.servlet.MultipartRequest
-
- MultipartRequest(ServletRequest, String) - 类 的构造器com.oreilly.servlet.MultipartRequest
-
Constructor with an old signature, kept for backward compatibility.
- MultipartRequest(ServletRequest, String, long) - 类 的构造器com.oreilly.servlet.MultipartRequest
-
Constructor with an old signature, kept for backward compatibility.
- MultipartResponse - com.oreilly.servlet中的类
-
A utility class to generate multipart/x-mixed-replace responses,
the kind of responses that implement server push.
- MultipartResponse(HttpServletResponse) - 类 的构造器com.oreilly.servlet.MultipartResponse
-
Constructs a new MultipartResponse to send content to the given
servlet response.
- MultipartWrapper - com.oreilly.servlet中的类
-
A request wrapper to support MultipartFilter.
- MultipartWrapper(HttpServletRequest, String) - 类 的构造器com.oreilly.servlet.MultipartWrapper
-
- read() - 类 中的方法com.oreilly.servlet.Base64Decoder
-
Returns the next decoded character from the stream, or -1 if
end of stream was reached.
- read(byte[], int, int) - 类 中的方法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() - 类 中的方法com.oreilly.servlet.multipart.BufferedServletInputStream
-
Implement buffering on top of the read method of
the wrapped ServletInputStream.
- read(byte[], int, int) - 类 中的方法com.oreilly.servlet.multipart.BufferedServletInputStream
-
Implement buffering on top of the read method of
the wrapped ServletInputStream.
- read() - 类 中的方法com.oreilly.servlet.multipart.LimitedServletInputStream
-
Implement length limitation on top of the read method of
the wrapped ServletInputStream.
- read(byte[], int, int) - 类 中的方法com.oreilly.servlet.multipart.LimitedServletInputStream
-
Implement length limitation on top of the read method of
the wrapped ServletInputStream.
- read() - 类 中的方法com.oreilly.servlet.multipart.PartInputStream
-
See the general contract of the read
method of InputStream.
- read(byte[]) - 类 中的方法com.oreilly.servlet.multipart.PartInputStream
-
See the general contract of the read
method of InputStream.
- read(byte[], int, int) - 类 中的方法com.oreilly.servlet.multipart.PartInputStream
-
See the general contract of the read
method of InputStream.
- readLine(byte[], int, int) - 类 中的方法com.oreilly.servlet.multipart.BufferedServletInputStream
-
Implement buffering on top of the readLine method of
the wrapped ServletInputStream.
- readLine(byte[], int, int) - 类 中的方法com.oreilly.servlet.multipart.LimitedServletInputStream
-
Implement length limitation on top of the readLine method of
the wrapped ServletInputStream.
- readNextPart() - 类 中的方法com.oreilly.servlet.multipart.MultipartParser
-
Read the next part arriving in the stream.
- registry - 类 中的变量com.oreilly.servlet.RemoteDaemonHttpServlet
-
The registry for the servlet
- registry - 类 中的变量com.oreilly.servlet.RemoteHttpServlet
-
The registry for the servlet
- RemoteDaemonHttpServlet - com.oreilly.servlet中的类
-
A superclass for any HTTP servlet that wishes to act as an RMI server
and, additionally, accept raw socket connections.
- RemoteDaemonHttpServlet() - 类 的构造器com.oreilly.servlet.RemoteDaemonHttpServlet
-
- RemoteHttpServlet - com.oreilly.servlet中的类
-
A superclass for any HTTP servlet that wishes to act as an RMI server.
- RemoteHttpServlet() - 类 的构造器com.oreilly.servlet.RemoteHttpServlet
-
- rename(File) - 类 中的方法com.oreilly.servlet.multipart.DefaultFileRenamePolicy
-
- rename(File) - 接口 中的方法com.oreilly.servlet.multipart.FileRenamePolicy
-
Returns a File object holding a new name for the specified file.
- returnFile(String, OutputStream) - 类 中的静态方法com.oreilly.servlet.ServletUtils
-
Sends the contents of the specified file to the output stream
- returnURL(URL, OutputStream) - 类 中的静态方法com.oreilly.servlet.ServletUtils
-
Sends the contents of the specified URL to the output stream
- returnURL(URL, Writer) - 类 中的静态方法com.oreilly.servlet.ServletUtils
-
Sends the contents of the specified URL to the Writer (commonly either a
PrintWriter or JspWriter)
- sendAndClose() - 类 中的方法com.oreilly.servlet.MailMessage
-
Sends the message and closes the connection to the server.
- sendGetMessage() - 类 中的方法com.oreilly.servlet.HttpMessage
-
Performs a GET request to the servlet, with no query string.
- sendGetMessage(Properties) - 类 中的方法com.oreilly.servlet.HttpMessage
-
Performs a GET request to the servlet, building
a query string from the supplied properties list.
- sendPostMessage() - 类 中的方法com.oreilly.servlet.HttpMessage
-
Performs a POST request to the servlet, with no query string.
- sendPostMessage(Properties) - 类 中的方法com.oreilly.servlet.HttpMessage
-
Performs a POST request to the servlet, building
post data from the supplied properties list.
- sendPostMessage(Serializable) - 类 中的方法com.oreilly.servlet.HttpMessage
-
Performs a POST request to the servlet, uploading a serialized object.
- service(HttpServletRequest, HttpServletResponse) - 类 中的方法com.oreilly.servlet.CacheHttpServlet
-
- ServletUtils - com.oreilly.servlet中的类
-
A collection of static utility methods useful to servlets.
- ServletUtils() - 类 的构造器com.oreilly.servlet.ServletUtils
-
- setAuthorization(String, String) - 类 中的方法com.oreilly.servlet.HttpMessage
-
Sets the authorization information for the request (using BASIC
authentication via the HTTP Authorization header).
- setCharacterEncoding(String) - 类 中的方法com.oreilly.servlet.ParameterParser
-
Sets the character encoding (charset) of the request to help the parser
properly decode parameter values.
- setCookie(String, String) - 类 中的方法com.oreilly.servlet.HttpMessage
-
Sets a request cookie with the given name and value.
- setEncoding(String) - 类 中的方法com.oreilly.servlet.multipart.MultipartParser
-
Sets the encoding used to parse from here onward.
- setHeader(String, String) - 类 中的方法com.oreilly.servlet.HttpMessage
-
Sets a request header with the given name and value.
- setHeader(String, String) - 类 中的方法com.oreilly.servlet.MailMessage
-
Sets the named header to the given value.
- setReadListener(ReadListener) - 类 中的方法com.oreilly.servlet.multipart.BufferedServletInputStream
-
- setReadListener(ReadListener) - 类 中的方法com.oreilly.servlet.multipart.LimitedServletInputStream
-
- setRenamePolicy(FileRenamePolicy) - 类 中的方法com.oreilly.servlet.multipart.FilePart
-
Puts in place the specified policy for handling file name collisions.
- setSubject(String) - 类 中的方法com.oreilly.servlet.MailMessage
-
Sets the subject of the mail message.
- split(String, String) - 类 中的静态方法com.oreilly.servlet.ServletUtils
-
Splits a String into pieces according to a delimiter.
- startResponse(String) - 类 中的方法com.oreilly.servlet.MultipartResponse
-
Begins a single response with the specified content type.