跳过导航链接
A C D E F G H I L M N P R S T U V W 

A

addCookie(Cookie) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Adds the specified cookie to the response.
addDateHeader(String, long) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Adds a response header with the given name and date-value.
addFilter(String, String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Adds the filter with the given name and class name to this servlet context.
addFilter(String, Filter) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Registers the given filter instance with this ServletContext under the given filterName.
addFilter(String, Class<? extends Filter>) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Adds the filter with the given name and class type to this servlet context.
addFilterMapping(TPFilterMapping, boolean) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
 
addHeader(String, String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Adds a response header with the given name and value.
addIntHeader(String, int) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Adds a response header with the given name and integer value.
addJspFile(String, String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Adds the servlet with the given jsp file to this servlet context.
addListener(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Adds the listener with the given class name to this ServletContext.
addListener(T) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Adds the given listener to this ServletContext.
addListener(Class<? extends EventListener>) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Adds a listener of the given class type to this ServletContext.
addMapping(String...) - 类 中的方法cn.imaq.tompuss.servlet.TPServletRegistration
Adds a servlet mapping with the given URL patterns for the Servlet represented by this ServletRegistration.
addMappingForServletNames(EnumSet<DispatcherType>, boolean, String...) - 类 中的方法cn.imaq.tompuss.filter.TPFilterRegistration
Adds a filter mapping with the given servlet names and dispatcher types for the Filter represented by this FilterRegistration.
addMappingForUrlPatterns(EnumSet<DispatcherType>, boolean, String...) - 类 中的方法cn.imaq.tompuss.filter.TPFilterRegistration
Adds a filter mapping with the given url patterns and dispatcher types for the Filter represented by this FilterRegistration.
addServlet(String, String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Adds the servlet with the given name and class name to this servlet context.
addServlet(String, Servlet) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Registers the given servlet instance with this ServletContext under the given servletName.
addServlet(String, Class<? extends Servlet>) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Adds the servlet with the given name and class type to this servlet context.
addServletMapping(String, TPServletRegistration) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
 
authenticate(HttpServletResponse) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Use the container login mechanism configured for the ServletContext to authenticate the user making this request.
available() - 类 中的方法cn.imaq.tompuss.io.TPInputStream
 

C

changeSessionId() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Change the session id of the current session associated with this request and return the new session id.
checkValid() - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
 
close() - 类 中的方法cn.imaq.tompuss.io.TPInputStream
 
close() - 类 中的方法cn.imaq.tompuss.io.TPOutputStream
 
cn.imaq.tompuss - 程序包 cn.imaq.tompuss
 
cn.imaq.tompuss.core - 程序包 cn.imaq.tompuss.core
 
cn.imaq.tompuss.dispatcher - 程序包 cn.imaq.tompuss.dispatcher
 
cn.imaq.tompuss.filter - 程序包 cn.imaq.tompuss.filter
 
cn.imaq.tompuss.io - 程序包 cn.imaq.tompuss.io
 
cn.imaq.tompuss.servlet - 程序包 cn.imaq.tompuss.servlet
 
cn.imaq.tompuss.session - 程序包 cn.imaq.tompuss.session
 
cn.imaq.tompuss.util - 程序包 cn.imaq.tompuss.util
 
compareTo(TPUrlPattern.Match) - 类 中的方法cn.imaq.tompuss.util.TPUrlPattern.Match
 
containsHeader(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Returns a boolean indicating whether the named response header has already been set.
context - 类 中的变量cn.imaq.tompuss.core.TPRegistration
 
context - 类 中的变量cn.imaq.tompuss.dispatcher.TPRequestDispatcher
 
createFilter(Class<T>) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Instantiates the given Filter class.
createListener(Class<T>) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Instantiates the given EventListener class.
createServlet(Class<T>) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Instantiates the given Servlet class.
createSession(String) - 类 中的方法cn.imaq.tompuss.session.TPSessionContext
 

D

declareRoles(String...) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Declares role names that are tested using isUserInRole.
DEFAULT_SERVLET - 类 中的静态变量cn.imaq.tompuss.servlet.TPServletContext
 
delete() - 类 中的方法cn.imaq.tompuss.servlet.TPFormPart
 
dispatch(ServletRequest, ServletResponse) - 类 中的方法cn.imaq.tompuss.dispatcher.TPNamedDispatcher
 
dispatch(ServletRequest, ServletResponse) - 类 中的方法cn.imaq.tompuss.dispatcher.TPPathDispatcher
 
dispatch(ServletRequest, ServletResponse) - 类 中的方法cn.imaq.tompuss.dispatcher.TPRequestDispatcher
 
doFilter(ServletRequest, ServletResponse) - 类 中的方法cn.imaq.tompuss.filter.TPFilterChain
Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.
doGet(HttpServletRequest, HttpServletResponse) - 类 中的方法cn.imaq.tompuss.servlet.TPDefaultServlet
 

E

enableJsp() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
 
encodeRedirectURL(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Encodes the specified URL for use in the sendRedirect method or, if encoding is not needed, returns the URL unchanged.
encodeRedirectUrl(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
已过时。
As of version 2.1, use encodeRedirectURL(String url) instead
encodeURL(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Encodes the specified URL by including the session ID, or, if encoding is not needed, returns the URL unchanged.
encodeUrl(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
已过时。
As of version 2.1, use encodeURL(String url) instead

F

flushBuffer() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Forces any content in the buffer to be written to the client.
forward(ServletRequest, ServletResponse) - 类 中的方法cn.imaq.tompuss.dispatcher.TPRequestDispatcher
 

G

getAsyncContext() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Gets the AsyncContext that was created or reinitialized by the most recent invocation of TPHttpServletRequest.startAsync() or TPHttpServletRequest.startAsync(ServletRequest, ServletResponse) on this request.
getAttribute(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
getAttribute(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns the servlet container attribute with the given name, or null if there is no attribute by that name.
getAttribute(String) - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
Returns the object bound with the specified name in this session, or null if no object is bound under the name.
getAttributeNames() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns an Enumeration containing the names of the attributes available to this request.
getAttributeNames() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns an Enumeration containing the attribute names available within this ServletContext.
getAttributeNames() - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
Returns an Enumeration of String objects containing the names of all the objects bound to this session.
getAuthType() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the name of the authentication scheme used to protect the servlet.
getBufferSize() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Returns the actual buffer size used for the response.
getCharacterEncoding() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the name of the character encoding used in the body of this request.
getCharacterEncoding() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Returns the name of the character encoding (MIME charset) used for the body sent in this response.
getClassLoader() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets the class loader of the web application represented by this ServletContext.
getClassName() - 类 中的方法cn.imaq.tompuss.core.TPRegistration
Gets the fully qualified class name of the Servlet or Filter that is represented by this Registration.
getContentLength() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the length, in bytes, of the request body and made available by the input stream, or -1 if the length is not known ir is greater than Integer.MAX_VALUE.
getContentLengthLong() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the length, in bytes, of the request body and made available by the input stream, or -1 if the length is not known.
getContentType() - 类 中的方法cn.imaq.tompuss.servlet.TPFormPart
 
getContentType() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the MIME type of the body of the request, or null if the type is not known.
getContentType() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Returns the content type used for the MIME body sent in this response.
getContext(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns a ServletContext object that corresponds to a specified URL on the server.
getContextPath() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the portion of the request URI that indicates the context of the request.
getContextPath() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns the context path of the web application.
getCookies() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns an array containing all of the Cookie objects the client sent with this request.
getCreationTime() - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
Returns the time when this session was created, measured in milliseconds since midnight January 1, 1970 GMT.
getDateHeader(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the value of the specified request header as a long value that represents a Date object.
getDefaultDispatcher() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
 
getDefaultServletRegistration() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
 
getDefaultSessionTrackingModes() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets the session tracking modes that are supported by default for this ServletContext.
getDispatcherType() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Gets the dispatcher type of this request.
getEffectiveMajorVersion() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets the major version of the Servlet specification that the application represented by this ServletContext is based on.
getEffectiveMinorVersion() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets the minor version of the Servlet specification that the application represented by this ServletContext is based on.
getEffectiveSessionTrackingModes() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets the session tracking modes that are in effect for this ServletContext.
getFilterInstance() - 类 中的方法cn.imaq.tompuss.filter.TPFilterRegistration
 
getFilterRegistration(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets the FilterRegistration corresponding to the filter with the given filterName.
getFilterRegistrations() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets a (possibly empty) Map of the FilterRegistration objects (keyed by filter name) corresponding to all filters registered with this ServletContext.
getHeader(String) - 类 中的方法cn.imaq.tompuss.servlet.TPFormPart
 
getHeader(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the value of the specified request header as a String.
getHeader(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Gets the value of the response header with the given name.
getHeaderNames() - 类 中的方法cn.imaq.tompuss.servlet.TPFormPart
 
getHeaderNames() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns an enumeration of all the header names this request contains.
getHeaderNames() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Gets the names of the headers of this response.
getHeaders(String) - 类 中的方法cn.imaq.tompuss.servlet.TPFormPart
 
getHeaders(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns all the values of the specified request header as an Enumeration of String objects.
getHeaders(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Gets the values of the response header with the given name.
getId() - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
Returns a string containing the unique identifier assigned to this session.
getInitParameter(String) - 类 中的方法cn.imaq.tompuss.core.TPRegistration
Gets the value of the initialization parameter with the given name that will be used to initialize the Servlet or Filter represented by this Registration object.
getInitParameter(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns a String containing the value of the named context-wide initialization parameter, or null if the parameter does not exist.
getInitParameterNames() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns the names of the context's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the context has no initialization parameters.
getInitParameters() - 类 中的方法cn.imaq.tompuss.core.TPRegistration
Gets an immutable (and possibly empty) Map containing the currently available initialization parameters that will be used to initialize the Servlet or Filter represented by this Registration object.
getInputStream() - 类 中的方法cn.imaq.tompuss.servlet.TPFormPart
 
getInputStream() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Retrieves the body of the request as binary data using a ServletInputStream.
getIntHeader(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the value of the specified request header as an int.
getJspConfigDescriptor() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets the <jsp-config> related configuration that was aggregated from the web.xml and web-fragment.xml descriptor files of the web application represented by this ServletContext.
getLastAccessedTime() - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
Returns the last time the client sent a request associated with this session, as the number of milliseconds since midnight January 1, 1970 GMT, and marked by the time the container received the request.
getListeners(Class<T>) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
 
getLocalAddr() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the Internet Protocol (IP) address of the interface on which the request was received.
getLocale() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the preferred Locale that the client will accept content in, based on the Accept-Language header.
getLocale() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Returns the locale specified for this response using the TPHttpServletResponse.setLocale(java.util.Locale) method.
getLocales() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns an Enumeration of Locale objects indicating, in decreasing order starting with the preferred locale, the locales that are acceptable to the client based on the Accept-Language header.
getLocalName() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the host name of the Internet Protocol (IP) interface on which the request was received.
getLocalPort() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the Internet Protocol (IP) port number of the interface on which the request was received.
getMajorVersion() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns the major version of the Servlet API that this servlet container supports.
getMappings() - 类 中的方法cn.imaq.tompuss.servlet.TPServletRegistration
Gets the currently available mappings of the Servlet represented by this ServletRegistration.
getMaxInactiveInterval() - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
Returns the maximum time interval, in seconds, that the servlet container will keep this session open between client accesses.
getMethod() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
getMimeType(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns the MIME type of the specified file, or null if the MIME type is not known.
getMinorVersion() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns the minor version of the Servlet API that this servlet container supports.
getName() - 类 中的方法cn.imaq.tompuss.core.TPRegistration
Gets the name of the Servlet or Filter that is represented by this Registration.
getName() - 类 中的方法cn.imaq.tompuss.servlet.TPFormPart
 
getNamedDispatcher(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns a RequestDispatcher object that acts as a wrapper for the named servlet.
getOutputStream() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Returns a ServletOutputStream suitable for writing binary data in the response.
getParameter(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the value of a request parameter as a String, or null if the parameter does not exist.
getParameterMap() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns a java.util.Map of the parameters of this request.
getParameterNames() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
getParameterValues(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.
getPart(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Gets the Part with the given name.
getParts() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Gets all the Part components of this request, provided that it is of type multipart/form-data.
getPathInfo() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns any extra path information associated with the URL the client sent when it made this request.
getPathTranslated() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns any extra path information after the servlet name but before the query string, and translates it to a real path.
getProtocol() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.
getQueryString() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the query string that is contained in the request URL after the path.
getReader() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Retrieves the body of the request as character data using a BufferedReader.
getRealPath(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
已过时。
As of Version 2.1 of the Java Servlet API, use ServletContext.getRealPath(java.lang.String) instead.
getRealPath(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets the real path corresponding to the given virtual path.
getRemoteAddr() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the Internet Protocol (IP) address of the client or last proxy that sent the request.
getRemoteHost() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the fully qualified name of the client or the last proxy that sent the request.
getRemotePort() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the Internet Protocol (IP) source port of the client or last proxy that sent the request.
getRemoteUser() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated.
getRequestCharacterEncoding() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets the request character encoding that are supported by default for this ServletContext.
getRequestDispatcher(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path.
getRequestDispatcher(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path.
getRequestedSessionId() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the session ID specified by the client.
getRequestURI() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
getRequestURL() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Reconstructs the URL the client used to make the request.
getResource(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns a URL to the resource that is mapped to the given path.
getResourceAsStream(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns the resource located at the named path as an InputStream object.
getResourcePaths(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns a directory-like listing of all the paths to resources within the web application whose longest sub-path matches the supplied path argument.
getResponseCharacterEncoding() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets the response character encoding that are supported by default for this ServletContext.
getRunAsRole() - 类 中的方法cn.imaq.tompuss.servlet.TPServletRegistration
Gets the name of the runAs role of the Servlet represented by this ServletRegistration.
getScheme() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the name of the scheme used to make this request, for example, http, https, or ftp.
getServerInfo() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns the name and version of the servlet container on which the servlet is running.
getServerName() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the host name of the server to which the request was sent.
getServerPort() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the port number to which the request was sent.
getServlet(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
已过时。
As of Java Servlet API 2.1, with no direct replacement.

This method was originally defined to retrieve a servlet from a ServletContext. In this version, this method always returns null and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java Servlet API.

In lieu of this method, servlets can share information using the ServletContext class and can perform shared business logic by invoking methods on common non-servlet classes.

getServletContext() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Gets the servlet context to which this ServletRequest was last dispatched.
getServletContext() - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
Returns the ServletContext to which this session belongs.
getServletContextName() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns the name of this web application corresponding to this ServletContext as specified in the deployment descriptor for this web application by the display-name element.
getServletInstance() - 类 中的方法cn.imaq.tompuss.servlet.TPServletRegistration
 
getServletNameMappings() - 类 中的方法cn.imaq.tompuss.filter.TPFilterRegistration
Gets the currently available servlet name mappings of the Filter represented by this FilterRegistration.
getServletNames() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
已过时。
As of Java Servlet API 2.1, with no replacement.

This method was originally defined to return an Enumeration of all the servlet names known to this context. In this version, this method always returns an empty Enumeration and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java Servlet API.

getServletPath() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the part of this request's URL that calls the servlet.
getServletRegistration(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets the ServletRegistration corresponding to the servlet with the given servletName.
getServletRegistrations() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets a (possibly empty) Map of the ServletRegistration objects (keyed by servlet name) corresponding to all servlets registered with this ServletContext.
getServlets() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
已过时。
As of Java Servlet API 2.0, with no replacement.

This method was originally defined to return an Enumeration of all the servlets known to this servlet context. In this version, this method always returns an empty enumeration and remains only to preserve binary compatibility. This method will be permanently removed in a future version of the Java Servlet API.

getSession(boolean) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the current HttpSession associated with this request or, if there is no current session and create is true, returns a new session.
getSession() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns the current session associated with this request, or if the request does not have a session, creates one.
getSession(String) - 类 中的方法cn.imaq.tompuss.session.TPSessionContext
 
getSessionContext() - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
已过时。
As of Version 2.1, this method is deprecated and has no replacement. It will be removed in a future version of the Java Servlet API.
getSessionCookieConfig() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets the SessionCookieConfig object through which various properties of the session tracking cookies created on behalf of this ServletContext may be configured.
getSessionTimeout() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Gets the session timeout in minutes that are supported by default for this ServletContext.
getSize() - 类 中的方法cn.imaq.tompuss.servlet.TPFormPart
 
getStatus() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Gets the current status code of this response.
getSubmittedFileName() - 类 中的方法cn.imaq.tompuss.servlet.TPFormPart
 
getUrlPatternMappings() - 类 中的方法cn.imaq.tompuss.filter.TPFilterRegistration
Gets the currently available URL pattern mappings of the Filter represented by this FilterRegistration.
getUserPrincipal() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns a java.security.Principal object containing the name of the current authenticated user.
getValue(String) - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
已过时。
As of Version 2.2, this method is replaced by TPHttpSession.getAttribute(java.lang.String).
getValueNames() - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
已过时。
As of Version 2.2, this method is replaced by TPHttpSession.getAttributeNames()
getVirtualServerName() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Returns the configuration name of the logical host on which the ServletContext is deployed.
getWriter() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Returns a PrintWriter object that can send character text to the client.

H

handle(AutumnHttpRequest) - 类 中的方法cn.imaq.tompuss.core.TPDispatcher
 

I

include(ServletRequest, ServletResponse) - 类 中的方法cn.imaq.tompuss.dispatcher.TPRequestDispatcher
 
instance - 类 中的变量cn.imaq.tompuss.core.TPRegistration
 
invalidate() - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
Invalidates this session then unbinds any objects bound to it.
isAsyncStarted() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Checks if this request has been put into asynchronous mode.
isAsyncSupported() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Checks if this request supports asynchronous operation.
isCommitted() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Returns a boolean indicating if the response has been committed.
isFinished() - 类 中的方法cn.imaq.tompuss.io.TPInputStream
 
isNew() - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
Returns true if the client does not yet know about the session or if the client chooses not to join the session.
isReady() - 类 中的方法cn.imaq.tompuss.io.TPInputStream
 
isReady() - 类 中的方法cn.imaq.tompuss.io.TPOutputStream
 
isRequestedSessionIdFromCookie() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Checks whether the requested session ID was conveyed to the server as an HTTP cookie.
isRequestedSessionIdFromURL() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Checks whether the requested session ID was conveyed to the server as part of the request URL.
isRequestedSessionIdFromUrl() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
已过时。
As of Version 2.1 of the Java Servlet API, use TPHttpServletRequest.isRequestedSessionIdFromURL() instead.
isRequestedSessionIdValid() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Checks whether the requested session ID is still valid.
isSecure() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.
isUserInRole(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
isValid() - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
 

L

loadAnnotation(WebFilter) - 类 中的方法cn.imaq.tompuss.filter.TPFilterRegistration
 
loadAnnotation(WebServlet) - 类 中的方法cn.imaq.tompuss.servlet.TPServletRegistration
 
loadConfigFile(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
 
log(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Writes the specified message to a servlet log file, usually an event log.
log(Exception, String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
已过时。
As of Java Servlet API 2.1, use TPServletContext.log(String message, Throwable throwable) instead.

This method was originally defined to write an exception's stack trace and an explanatory error message to the servlet log file.

log(String, Throwable) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Writes an explanatory message and a stack trace for a given Throwable exception to the servlet log file.
login(String, String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Validate the provided username and password in the password validation realm used by the web container login mechanism configured for the ServletContext.
logout() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Establish null as the value returned when getUserPrincipal, getRemoteUser, and getAuthType is called on the request.

M

main(String[]) - 类 中的静态方法cn.imaq.tompuss.TomPuss
 
mark(int) - 类 中的方法cn.imaq.tompuss.io.TPInputStream
 
markSupported() - 类 中的方法cn.imaq.tompuss.io.TPInputStream
 
match(String, String) - 类 中的方法cn.imaq.tompuss.filter.TPFilterMapping
 
match(String) - 类 中的方法cn.imaq.tompuss.util.TPUrlPattern
 
Match() - 类 的构造器cn.imaq.tompuss.util.TPUrlPattern.Match
 
matchContextByPath(String) - 类 中的方法cn.imaq.tompuss.core.TPEngine
 
matchFilters(String, Servlet, DispatcherType) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
 
matchServletByPath(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
 

N

name - 类 中的变量cn.imaq.tompuss.core.TPRegistration
 
newWebApp(String, String, File) - 类 中的方法cn.imaq.tompuss.core.TPEngine
 
NO_MATCH - 类 中的静态变量cn.imaq.tompuss.util.TPUrlPattern.Match
 

P

parse(AutumnHttpRequest) - 类 中的静态方法cn.imaq.tompuss.io.TPMultipartParser
 
parseWebXml(TPServletContext, File) - 类 中的静态方法cn.imaq.tompuss.util.TPXmlUtil
 
printBanner() - 类 中的静态方法cn.imaq.tompuss.util.TPBanner
 
putValue(String, Object) - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
已过时。
As of Version 2.2, this method is replaced by TPHttpSession.setAttribute(java.lang.String, java.lang.Object)

R

read() - 类 中的方法cn.imaq.tompuss.io.TPInputStream
 
read(byte[], int, int) - 类 中的方法cn.imaq.tompuss.io.TPInputStream
 
removeAttribute(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Removes an attribute from this request.
removeAttribute(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Removes the attribute with the given name from this ServletContext.
removeAttribute(String) - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
Removes the object bound with the specified name from this session.
removeValue(String) - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
已过时。
As of Version 2.2, this method is replaced by TPHttpSession.removeAttribute(java.lang.String)
request(ServletRequest, ServletResponse) - 类 中的方法cn.imaq.tompuss.dispatcher.TPRequestDispatcher
 
reset() - 类 中的方法cn.imaq.tompuss.io.TPInputStream
 
reset() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Clears any data that exists in the buffer as well as the status code, headers.
resetBuffer() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Clears the content of the underlying buffer in the response without clearing headers or status code.

S

scanAnnotations() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
 
sendError(int, String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Sends an error response to the client using the specified status and clears the buffer.
sendError(int) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Sends an error response to the client using the specified status code and clears the buffer.
sendRedirect(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Sends a temporary redirect response to the client using the specified redirect location URL and clears the buffer.
setAsyncSupported(boolean) - 类 中的方法cn.imaq.tompuss.core.TPRegistration
Configures the Servlet or Filter represented by this dynamic Registration as supporting asynchronous operations or not.
setAttribute(String, Object) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Stores an attribute in this request.
setAttribute(String, Object) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Binds an object to a given attribute name in this ServletContext.
setAttribute(String, Object) - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
Binds an object to this session, using the name specified.
setBufferSize(int) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Sets the preferred buffer size for the body of the response.
setCharacterEncoding(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Overrides the name of the character encoding used in the body of this request.
setCharacterEncoding(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Sets the character encoding (MIME charset) of the response being sent to the client, for example, to UTF-8.
setContentLength(int) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Sets the length of the content body in the response In HTTP servlets, this method sets the HTTP Content-Length header.
setContentLengthLong(long) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Sets the length of the content body in the response In HTTP servlets, this method sets the HTTP Content-Length header.
setContentType(String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Sets the content type of the response being sent to the client, if the response has not been committed yet.
setDateHeader(String, long) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Sets a response header with the given name and date-value.
setHeader(String, String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Sets a response header with the given name and value.
setInitParameter(String, String) - 类 中的方法cn.imaq.tompuss.core.TPRegistration
Sets the initialization parameter with the given name and value on the Servlet or Filter that is represented by this Registration.
setInitParameter(String, String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Sets the context initialization parameter with the given name and value on this ServletContext.
setInitParameters(Map<String, String>) - 类 中的方法cn.imaq.tompuss.core.TPRegistration
Sets the given initialization parameters on the Servlet or Filter that is represented by this Registration.
setIntHeader(String, int) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Sets a response header with the given name and integer value.
setLoadOnStartup(int) - 类 中的方法cn.imaq.tompuss.servlet.TPServletRegistration
Sets the loadOnStartup priority on the Servlet represented by this dynamic ServletRegistration.
setLocale(Locale) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Sets the locale of the response, if the response has not been committed yet.
setMaxInactiveInterval(int) - 类 中的方法cn.imaq.tompuss.session.TPHttpSession
Specifies the time, in seconds, between client requests before the servlet container will invalidate this session.
setMultipartConfig(MultipartConfigElement) - 类 中的方法cn.imaq.tompuss.servlet.TPServletRegistration
Sets the MultipartConfigElement to be applied to the mappings defined for this ServletRegistration.
setReadListener(ReadListener) - 类 中的方法cn.imaq.tompuss.io.TPInputStream
 
setRequestCharacterEncoding(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Sets the request character encoding for this ServletContext.
setResponseCharacterEncoding(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Sets the response character encoding for this ServletContext.
setRunAsRole(String) - 类 中的方法cn.imaq.tompuss.servlet.TPServletRegistration
Sets the name of the runAs role for this ServletRegistration.
setServletSecurity(ServletSecurityElement) - 类 中的方法cn.imaq.tompuss.servlet.TPServletRegistration
Sets the ServletSecurityElement to be applied to the mappings defined for this ServletRegistration.
setSessionTimeout(int) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Sets the session timeout in minutes for this ServletContext.
setSessionTrackingModes(Set<SessionTrackingMode>) - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
Sets the session tracking modes that are to become effective for this ServletContext.
setStatus(int) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
Sets the status code for this response.
setStatus(int, String) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
已过时。
As of version 2.1, due to ambiguous meaning of the message parameter. To set a status code use setStatus(int), to send an error with a description use sendError(int, String).

Sets the status code and message for this response.

setWriteListener(WriteListener) - 类 中的方法cn.imaq.tompuss.io.TPOutputStream
 
size() - 类 中的方法cn.imaq.tompuss.io.TPOutputStream
 
skip(long) - 类 中的方法cn.imaq.tompuss.io.TPInputStream
 
start() - 类 中的方法cn.imaq.tompuss.core.TPEngine
 
start() - 类 中的方法cn.imaq.tompuss.TomPuss
 
startAsync() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Puts this request into asynchronous mode, and initializes its AsyncContext with the original (unwrapped) ServletRequest and ServletResponse objects.
startAsync(ServletRequest, ServletResponse) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Puts this request into asynchronous mode, and initializes its AsyncContext with the given request and response objects.
startup() - 类 中的方法cn.imaq.tompuss.servlet.TPServletContext
 
stop() - 类 中的方法cn.imaq.tompuss.core.TPEngine
 

T

toAutumnHttpResponse() - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletResponse
 
toByteArray() - 类 中的方法cn.imaq.tompuss.io.TPOutputStream
 
TomPuss - cn.imaq.tompuss中的类
 
TomPuss() - 类 的构造器cn.imaq.tompuss.TomPuss
 
toString() - 类 中的方法cn.imaq.tompuss.io.TPOutputStream
 
toString(String) - 类 中的方法cn.imaq.tompuss.io.TPOutputStream
 
toString(int) - 类 中的方法cn.imaq.tompuss.io.TPOutputStream
已过时。
TPBanner - cn.imaq.tompuss.util中的类
 
TPBanner() - 类 的构造器cn.imaq.tompuss.util.TPBanner
 
TPDefaultServlet - cn.imaq.tompuss.servlet中的类
 
TPDefaultServlet() - 类 的构造器cn.imaq.tompuss.servlet.TPDefaultServlet
 
TPDispatcher - cn.imaq.tompuss.core中的类
 
TPEngine - cn.imaq.tompuss.core中的类
 
TPEngine(int) - 类 的构造器cn.imaq.tompuss.core.TPEngine
 
TPFilterChain - cn.imaq.tompuss.filter中的类
 
TPFilterChain(Iterable<TPFilterRegistration>, Servlet) - 类 的构造器cn.imaq.tompuss.filter.TPFilterChain
 
TPFilterMapping - cn.imaq.tompuss.filter中的类
 
TPFilterRegistration - cn.imaq.tompuss.filter中的类
 
TPFilterRegistration(TPServletContext, String, Filter) - 类 的构造器cn.imaq.tompuss.filter.TPFilterRegistration
 
TPFormPart - cn.imaq.tompuss.servlet中的类
 
TPFormPart(byte[]) - 类 的构造器cn.imaq.tompuss.servlet.TPFormPart
 
TPHttpExchange - cn.imaq.tompuss.servlet中的类
 
TPHttpExchange() - 类 的构造器cn.imaq.tompuss.servlet.TPHttpExchange
 
TPHttpServletRequest - cn.imaq.tompuss.servlet中的类
 
TPHttpServletRequest(AutumnHttpRequest, TPServletContext, TPHttpExchange) - 类 的构造器cn.imaq.tompuss.servlet.TPHttpServletRequest
 
TPHttpServletResponse - cn.imaq.tompuss.servlet中的类
 
TPHttpServletResponse(TPServletContext, TPHttpExchange) - 类 的构造器cn.imaq.tompuss.servlet.TPHttpServletResponse
 
TPHttpSession - cn.imaq.tompuss.session中的类
 
TPInputStream - cn.imaq.tompuss.io中的类
 
TPInputStream(byte[]) - 类 的构造器cn.imaq.tompuss.io.TPInputStream
 
TPMatchResult<T> - cn.imaq.tompuss.util中的类
 
TPMatchResult() - 类 的构造器cn.imaq.tompuss.util.TPMatchResult
 
TPMultipartParser - cn.imaq.tompuss.io中的类
 
TPMultipartParser() - 类 的构造器cn.imaq.tompuss.io.TPMultipartParser
 
TPNamedDispatcher - cn.imaq.tompuss.dispatcher中的类
 
TPNamedDispatcher(TPServletContext, TPServletRegistration) - 类 的构造器cn.imaq.tompuss.dispatcher.TPNamedDispatcher
 
TPNotFoundException - cn.imaq.tompuss.util中的异常错误
 
TPNotFoundException() - 异常错误 的构造器cn.imaq.tompuss.util.TPNotFoundException
 
TPOutputStream - cn.imaq.tompuss.io中的类
 
TPOutputStream(int) - 类 的构造器cn.imaq.tompuss.io.TPOutputStream
 
TPPathDispatcher - cn.imaq.tompuss.dispatcher中的类
 
TPPathDispatcher(TPServletContext, String) - 类 的构造器cn.imaq.tompuss.dispatcher.TPPathDispatcher
 
TPPathUtil - cn.imaq.tompuss.util中的类
 
TPPathUtil() - 类 的构造器cn.imaq.tompuss.util.TPPathUtil
 
TPRegistration<T> - cn.imaq.tompuss.core中的类
 
TPRegistration(TPServletContext, String, T) - 类 的构造器cn.imaq.tompuss.core.TPRegistration
 
TPRequestDispatcher - cn.imaq.tompuss.dispatcher中的类
 
TPServletContext - cn.imaq.tompuss.servlet中的类
 
TPServletContext(TPEngine, String, String, File) - 类 的构造器cn.imaq.tompuss.servlet.TPServletContext
 
TPServletRegistration - cn.imaq.tompuss.servlet中的类
 
TPServletRegistration(TPServletContext, String, Servlet) - 类 的构造器cn.imaq.tompuss.servlet.TPServletRegistration
 
TPSessionContext - cn.imaq.tompuss.session中的类
 
TPSessionContext(TPServletContext) - 类 的构造器cn.imaq.tompuss.session.TPSessionContext
 
TPUrlPattern - cn.imaq.tompuss.util中的类
 
TPUrlPattern(String) - 类 的构造器cn.imaq.tompuss.util.TPUrlPattern
 
TPUrlPattern.Match - cn.imaq.tompuss.util中的类
 
TPUrlPattern.Type - cn.imaq.tompuss.util中的枚举
 
TPXmlUtil - cn.imaq.tompuss.util中的类
 
TPXmlUtil() - 类 的构造器cn.imaq.tompuss.util.TPXmlUtil
 
transform(String) - 类 中的静态方法cn.imaq.tompuss.util.TPPathUtil
 

U

upgrade(Class<T>) - 类 中的方法cn.imaq.tompuss.servlet.TPHttpServletRequest
Creates an instance of HttpUpgradeHandler for a given class and uses it for the http protocol upgrade processing.

V

valueOf(String) - 枚举 中的静态方法cn.imaq.tompuss.util.TPUrlPattern.Type
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法cn.imaq.tompuss.util.TPUrlPattern.Type
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

W

write(int) - 类 中的方法cn.imaq.tompuss.io.TPOutputStream
 
write(byte[], int, int) - 类 中的方法cn.imaq.tompuss.io.TPOutputStream
 
write(String) - 类 中的方法cn.imaq.tompuss.servlet.TPFormPart
 
writeTo(OutputStream) - 类 中的方法cn.imaq.tompuss.io.TPOutputStream
 
A C D E F G H I L M N P R S T U V W 
跳过导航链接