索引
All Classes and Interfaces|常量字段值|所有程序包|序列化表格
A
- AbstractSearchTool - org.apache.velocity.tools.view中的类
-
Abstract view tool for doing "searching" and robust pagination of search results.
- AbstractSearchTool() - 类的构造器 org.apache.velocity.tools.view.AbstractSearchTool
- AbstractSearchTool.StoredResults - org.apache.velocity.tools.view中的类
-
Simple utility class to hold a criterion and its result list.
- acquireLocalURLReader(String) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport
- acquireLocalURLString(String) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport
- acquireRemoteURLReader(String) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport
- acquireRemoteURLString(String) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport
- add(Cookie) - 类中的方法 org.apache.velocity.tools.view.CookieTool
-
Adds the specified Cookie to the HttpServletResponse.
- add(String, String) - 类中的方法 org.apache.velocity.tools.view.CookieTool
-
Adds a new Cookie with the specified name and value to the HttpServletResponse.
- add(String, String, Object) - 类中的方法 org.apache.velocity.tools.view.CookieTool
-
Convenience method to add a new Cookie to the response and set an expiry time for it.
- addDependencies(Map<String, List<String>>) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Adds the specified files organized by type to this instance's current dependencies.
- addFile(String, String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Adds a file to this instance's dependencies under the specified type.
- addFile(String, String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool.Group
- addGroup(String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool.Group
- addMissingRequestParams(Object...) - 类中的方法 org.apache.velocity.tools.view.LinkTool
-
Adds all of the current request's parameters to this link's "query data" except for those whose keys match any of the specified strings or already have a value set for them in the current instance.
- addRequestParams(Object...) - 类中的方法 org.apache.velocity.tools.view.LinkTool
-
Adds the specified parameters (if they exist) from the current request to the query data of a copy of this instance.
- addRequestParamsExcept(Object...) - 类中的方法 org.apache.velocity.tools.view.LinkTool
-
Adds all of the current request's parameters to this link's "query data" except for those whose keys match any of the specified strings.
- addToolboxes(ToolContext) - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
- addToolboxesUnderKey(String) - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
- ALT_VELOCITY_VIEW_KEY - 类中的静态变量 org.apache.velocity.tools.view.ServletUtils
- application - 类中的变量 org.apache.velocity.tools.view.ViewContextTool
- application - 类中的变量 org.apache.velocity.tools.view.ViewImportSupport
- APPLICATION - 接口中的静态变量 org.apache.velocity.tools.view.ViewContext
-
Key used for the servlet context object in templates.
- autoConfigure(boolean) - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
B
- begin(String, String, Attributes) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool.FileRule
- begin(String, String, Attributes) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool.GroupRule
- begin(String, String, Attributes) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool.TypeRule
- body(String, String, String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool.FileRule
- body(String, String, String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool.NeedsRule
- body(String, String, String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool.TypeRule
- BreadcrumbTool - org.apache.velocity.tools.view中的类
-
Helper tool to display a navigation breadcrumb to the end user.
- BreadcrumbTool() - 类的构造器 org.apache.velocity.tools.view.BreadcrumbTool
- BreadcrumbTool.NavigationElement - org.apache.velocity.tools.view中的类
-
Class representing a navigation element
- BrowserTool - org.apache.velocity.tools.view中的类
-
Browser sniffing tool (session or request scope requested, session scope advised).
- BrowserTool() - 类的构造器 org.apache.velocity.tools.view.BrowserTool
- BrowserToolDeprecatedMethods - org.apache.velocity.tools.view中的类
-
已过时。
- BrowserToolDeprecatedMethods() - 类的构造器 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- BUFFER_OUTPUT_PARAM - 类中的静态变量 org.apache.velocity.tools.view.VelocityViewServlet
C
- CLEAN_CONFIGURATION_KEY - 类中的静态变量 org.apache.velocity.tools.view.VelocityView
-
Controls removal of tools or data with invalid configurations before initialization is finished.
- close() - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.SafeClosingHttpURLConnectionReader
- combinePath(String, String) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
-
If end is null, this will return start and vice versa.
- comment(Object) - 类中的方法 org.apache.velocity.tools.view.CookieTool.SugarCookie
- CONFIGURATION_KEY - 类中的静态变量 org.apache.velocity.tools.view.ServletUtils
-
Key used to access a live
FactoryConfigurationpreviously placed in the ServletContext attributes. - configure(FactoryConfiguration) - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.view.BreadcrumbTool
-
Configuration
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.view.ImportTool
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.view.IncludeTool
-
Extracts the default language from the specified
ViewContext, looking first at the Velocity context, then the servlet context, then lastly at the JVM default. - configure(ValueParser) - 类中的方法 org.apache.velocity.tools.view.JsonTool
-
Configuration.
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.view.LinkTool
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.view.ParameterTool
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.view.ViewContextTool
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport
- configure(ValueParser) - 类中的方法 org.apache.velocity.tools.view.XmlTool
-
Configuration.
- configure(JeeConfig, VelocityEngine) - 类中的方法 org.apache.velocity.tools.view.VelocityView
- configure(JeeConfig, ToolboxFactory) - 类中的方法 org.apache.velocity.tools.view.VelocityView
-
Here's the configuration lookup/loading order: If loadDefaults is true,
ConfigurationUtils.getDefaultTools()Config file optionally specified by servletContextorg.apache.velocity.toolsinit-param Config file optionally at/WEB-INF/tools.xml(conventional location) Config file optionally specified by servletorg.apache.velocity.toolsinit-param Remember that as these configurations are added on top of each other, the newer values will always override the older ones. - configure(ViewToolContext) - 类中的方法 org.apache.velocity.tools.view.IncludeTool
- containsKey(String) - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
-
Indicates whether the specified key is in the context.
- CONTENT_TYPE_KEY - 类中的静态变量 org.apache.velocity.tools.view.VelocityView
-
The HTTP content type context key.
- context - 类中的变量 org.apache.velocity.tools.view.JeeContextConfig
- context(String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Sets a custom {context} variable for the formats to use.
- CONTEXT_KEY - 类中的静态变量 org.apache.velocity.tools.view.VelocityViewFilter
- CookieTool - org.apache.velocity.tools.view中的类
-
View tool for convenient cookie access and creation.
- CookieTool() - 类的构造器 org.apache.velocity.tools.view.CookieTool
- CookieTool.SugarCookie - org.apache.velocity.tools.view中的类
-
Extends
Cookieto add some fluid API sugar and a toString() method that renders the Cookie's value instead of the usual Object.toString() shenanigans. - create(String, String) - 类中的方法 org.apache.velocity.tools.view.CookieTool
-
Creates a new Cookie with the specified name and value.
- create(String, String, Object) - 类中的方法 org.apache.velocity.tools.view.CookieTool
-
Convenience method to create a new Cookie and set an expiry time for it.
- CREATE_SESSION_PROPERTY - 类中的静态变量 org.apache.velocity.tools.view.ViewToolManager
- createContext(HttpServletRequest, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.VelocityView
-
Creates and returns an initialized Velocity context.
- createContext(HttpServletRequest, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.VelocityViewFilter
- createContext(HttpServletRequest, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Get a configured Velocity context for the current request and response
- createContext(HttpServletRequest, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
- createContext(Map<String, Object>) - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
- createDigester() - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Creates the
Digesterused byUiDependencyTool.read(java.lang.String, boolean)to create the group info for this instance out of the specified XML file. - customize(BreadcrumbTool.NavigationElement, HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.BreadcrumbTool
-
Let the user customize programmatically the name and URL of a specific element.
D
- DEFAULT_CONTENT_TYPE - 类中的静态变量 org.apache.velocity.tools.view.VelocityView
-
The default content type for the response
- DEFAULT_CRITERIA_KEY - 类中的静态变量 org.apache.velocity.tools.view.AbstractSearchTool
- DEFAULT_DEFAULT_LAYOUT - 类中的静态变量 org.apache.velocity.tools.view.VelocityLayoutServlet
-
The default filename for the servlet's default layout
- DEFAULT_ERROR_TEMPLATE - 类中的静态变量 org.apache.velocity.tools.view.VelocityLayoutServlet
-
The default error template's filename.
- DEFAULT_INDEX_KEY - 类中的静态变量 org.apache.velocity.tools.view.PagerTool
- DEFAULT_ITEMS_PER_PAGE - 类中的静态变量 org.apache.velocity.tools.view.PagerTool
-
the default number of items shown per page
- DEFAULT_ITEMS_PER_PAGE_KEY - 类中的静态变量 org.apache.velocity.tools.view.PagerTool
- DEFAULT_LANGUAGE_KEY - 类中的静态变量 org.apache.velocity.tools.view.IncludeTool
-
The key used to search initialization, context, and JVM parameters for the default language to use.
- DEFAULT_LAYOUT_DIR - 类中的静态变量 org.apache.velocity.tools.view.VelocityLayoutServlet
-
The default layout directory
- DEFAULT_NEW_ITEMS_KEY - 类中的静态变量 org.apache.velocity.tools.view.PagerTool
- DEFAULT_OUTPUT_ENCODING - 类中的静态变量 org.apache.velocity.tools.view.VelocityView
-
Default encoding for the output stream
- DEFAULT_PROPERTIES_PATH - 类中的静态变量 org.apache.velocity.tools.view.VelocityView
-
Default Runtime properties.
- DEFAULT_SLIP_SIZE - 类中的静态变量 org.apache.velocity.tools.view.PagerTool
-
the default max number of page indices to list
- DEFAULT_SLIP_SIZE_KEY - 类中的静态变量 org.apache.velocity.tools.view.PagerTool
- DEFAULT_SOURCE_FILE - 类中的静态变量 org.apache.velocity.tools.view.UiDependencyTool
- DEFAULT_TOOLBOX_KEY - 接口中的静态变量 org.apache.velocity.tools.view.ViewContext
-
Default key used to store toolboxes in request/session/application attributes.
- DEFAULT_TOOLBOX_KEY - 类中的静态变量 org.apache.velocity.tools.view.ViewToolManager
- defaultLanguage - 类中的变量 org.apache.velocity.tools.view.IncludeTool
-
The two character abbreviation for the request's default language.
- defaultLayout - 类中的变量 org.apache.velocity.tools.view.VelocityLayoutServlet
- delete(String) - 类中的方法 org.apache.velocity.tools.view.CookieTool
-
Retrieves the specified cookie and sets the Max-Age to 0 to tell the browser to delete the cookie.
- DESKTOP - enum class 中的枚举常量 org.apache.velocity.tools.view.UAParser.DeviceType
- destroy() - 类中的方法 org.apache.velocity.tools.view.VelocityViewFilter
- discover(Class) - 类中的方法 org.apache.velocity.tools.view.WebappUberspector.GetAttributeExecutor
- discover(Class, Object) - 类中的方法 org.apache.velocity.tools.view.WebappUberspector.SetAttributeExecutor
- doFilter(ServletRequest, ServletResponse, FilterChain) - 类中的方法 org.apache.velocity.tools.view.VelocityViewFilter
-
Simply prepares the request (and/or session) toolbox(es) for other filters, servlets or whatnot to use.
- doGet(HttpServletRequest, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Handles GET - calls doRequest()
- domain(Object) - 类中的方法 org.apache.velocity.tools.view.CookieTool.SugarCookie
- doPost(HttpServletRequest, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Handle a POST request - calls doRequest()
- doRequest(HttpServletRequest, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Handles with both GET and POST requests
E
- end(String, String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool.GroupRule
- engine - 类中的变量 org.apache.velocity.tools.view.IncludeTool
- error(HttpServletRequest, HttpServletResponse, Throwable) - 类中的方法 org.apache.velocity.tools.view.VelocityLayoutServlet
-
Overrides VelocityViewServlet to display user's custom error template
- error(HttpServletRequest, HttpServletResponse, Throwable) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Invoked when there is an error thrown in any part of doRequest() processing.
- errorTemplate - 类中的变量 org.apache.velocity.tools.view.VelocityLayoutServlet
- execute(Object) - 类中的方法 org.apache.velocity.tools.view.WebappUberspector.GetAttributeExecutor
- execute(Object, Object) - 类中的方法 org.apache.velocity.tools.view.WebappUberspector.SetAttributeExecutor
- executeQuery(Object) - 类中的方法 org.apache.velocity.tools.view.AbstractSearchTool
-
Executes a query for the specified criteria.
- exists(String) - 类中的方法 org.apache.velocity.tools.view.IncludeTool
-
Checks to see whether a #parse-able template or #include-able resource exists under the specified name/path.
- exists(String, String) - 类中的方法 org.apache.velocity.tools.view.IncludeTool
-
Checks to see whether a localized version of the named template exists for the specified language.
F
- FileRule() - 类的构造器 org.apache.velocity.tools.view.UiDependencyTool.FileRule
- fillContext(Context, HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.VelocityLayoutServlet
-
Overrides VelocityViewServlet to check the request for an alternate layout
- fillContext(Context, HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Standard extension point to populate the context with additional entries
- fillKeyset(Set) - 类中的方法 org.apache.velocity.tools.view.ViewContextTool
- filter - 类中的变量 org.apache.velocity.tools.view.JeeFilterConfig
- find(String) - 类中的方法 org.apache.velocity.tools.view.IncludeTool
-
Calls
IncludeTool.find(String, String)using the default language. - find(String, String) - 类中的方法 org.apache.velocity.tools.view.IncludeTool
-
Finds the a localized version of the requested Velocity resource (such as a file or template) which is most appropriate for the locale of the current request.
- find(String, Locale) - 类中的方法 org.apache.velocity.tools.view.IncludeTool
-
Calls
IncludeTool.find(String, String)using the language extracted fromlocale. - findConfig(String) - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
- findInitParameter(ServletConfig, String) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Looks up an init parameter with the specified key in either the ServletConfig or, failing that, in the ServletContext.
- findInitParameter(String) - 接口中的方法 org.apache.velocity.tools.view.JeeConfig
-
Looks for the specified init-param in the servlet/filter config (i.e. calls
JeeConfig.getInitParameter(java.lang.String)). - findInitParameter(String) - 类中的方法 org.apache.velocity.tools.view.JeeContextConfig
-
Only checks the
ServletContext's init-params for the specified parameter. - findInitParameter(String) - 类中的方法 org.apache.velocity.tools.view.JeeFilterConfig
-
Looks for the specified init-param in the servlet/filter config (i.e. calls
JeeConfig.getInitParameter(java.lang.String)). - findInitParameter(String) - 类中的方法 org.apache.velocity.tools.view.JeeServletConfig
-
Looks for the specified init-param in the servlet/filter config (i.e. calls
JeeConfig.getInitParameter(java.lang.String)). - findInitParameter(String) - 类中的方法 org.apache.velocity.tools.view.VelocityViewFilter
-
Looks up an init parameter with the specified key in either the FilterConfig or, failing that, in the ServletContext.
- findLayout(HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.VelocityLayoutServlet
-
Searches for a non-default layout to be used for this request.
- findTool(String, HttpServletRequest) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
- findTool(String, HttpServletRequest, ServletContext) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
- findTool(String, ServletContext) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
- findTool(String, String, HttpServletRequest) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
- findTool(String, String, HttpServletRequest, ServletContext) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
- findTool(String, String, ServletContext) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
- format(String, String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Applies the format string to the given value.
- formatElementName(String) - 类中的方法 org.apache.velocity.tools.view.BreadcrumbTool
-
Automatic default formatting of URI elements
G
- get(String) - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- get(String) - 类中的方法 org.apache.velocity.tools.view.CookieTool
-
Returns the Cookie with the specified name, if it exists.
- get(String) - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
-
Looks up and returns the object with the specified key.
- getAcceptLanguage() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- getAll() - 类中的方法 org.apache.velocity.tools.view.CookieTool
-
Expose array of Cookies for this request to the template.
- getAll() - 类中的方法 org.apache.velocity.tools.view.ParameterTool
- getAttribute(String) - 接口中的方法 org.apache.velocity.tools.view.ViewContext
-
Searches for the named attribute in request, session (if valid), and application scope(s) in order and returns the value associated or null.
- getAttribute(String) - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
-
Searches for the named attribute in request, session (if valid), and application scope(s) in order and returns the value associated or null.
- GetAttributeExecutor(Logger, Introspector, Class, String) - 类的构造器 org.apache.velocity.tools.view.WebappUberspector.GetAttributeExecutor
- getBrowser() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- getBrowser() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getBrowser() - 类中的方法 org.apache.velocity.tools.view.UAParser.UserAgent
- getConfiguration(ServletContext) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
- getConfiguration(String) - 类中的方法 org.apache.velocity.tools.view.VelocityView
- getConfiguration(String, boolean) - 类中的方法 org.apache.velocity.tools.view.VelocityView
- getConfiguration(String, ServletContext) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
- getContextKey() - 类中的方法 org.apache.velocity.tools.view.VelocityViewFilter
- getContextPath() - 类中的方法 org.apache.velocity.tools.view.LinkTool
-
Initially, this returns the context path that addresses this web application, e.g.
- getContextURL() - 类中的方法 org.apache.velocity.tools.view.LinkTool
-
Returns a URL that addresses the web application.
- getCreateSession() - 类中的方法 org.apache.velocity.tools.view.PagerTool
- getCreateSession() - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
- getCriteria() - 类中的方法 org.apache.velocity.tools.view.AbstractSearchTool
-
Return the criteria object for this request.
- getCriteria() - 类中的方法 org.apache.velocity.tools.view.AbstractSearchTool.StoredResults
- getCriteriaKey() - 类中的方法 org.apache.velocity.tools.view.AbstractSearchTool
- getCss() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getCss1() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getCss2() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getCss3() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- getDefaultContentType() - 类中的方法 org.apache.velocity.tools.view.VelocityView
- getDefaultToolsConfiguration() - 类中的方法 org.apache.velocity.tools.view.VelocityView
- getDependencies() - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Returns the current dependencies of this instance, organized as an ordered map of file types to lists of the required files of that type.
- getDependencies(String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Returns the
Listof files for the specified file type, if any. - getDependencies(UiDependencyTool) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool.Group
- getDevice() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- getDeviceType() - 类中的方法 org.apache.velocity.tools.view.UAParser.UserAgent
- getDom0() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getDom1() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getDom2() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getDom3() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- getDotnet() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getExtension(String) - 类中的静态方法 org.apache.velocity.tools.view.BreadcrumbTool
-
Utility method to return URI file extension
- getFileResource(String) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport
- getFilterConfig() - 类中的方法 org.apache.velocity.tools.view.VelocityViewFilter
- getFirstIndex() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Returns the index of the first item on the current page of results (as determined by the current index, items per page, and the number of items).
- getFormat(String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Retrieves the configured format string for the specified file type.
- getGeckoMajorVersion() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getGeckoMinorVersion() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getGeckoVersion() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getGroup(String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
NOTE: This method may change or disappear w/o warning; don't depend on it unless you're willing to update your code whenever this changes.
- getGroupDependencies(String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Returns the dependencies of the specified group, organized as an ordered map of file types to lists of the required files of that type.
- getIe() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getIe3() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getIe4() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getIe4up() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getIe5() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getIe55() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getIe55up() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getIe5up() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getIe6() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getIe6up() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getIe7() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getIe7up() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getIe8() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getIe8up() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getIndex() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Returns the current search result index.
- getIndexKey() - 类中的方法 org.apache.velocity.tools.view.PagerTool
- getInitParameter(String) - 接口中的方法 org.apache.velocity.tools.view.JeeConfig
-
Returns an initialization parameter.
- getInitParameter(String) - 类中的方法 org.apache.velocity.tools.view.JeeContextConfig
-
Returns an initialization parameter.
- getInitParameter(String) - 类中的方法 org.apache.velocity.tools.view.JeeFilterConfig
-
Returns an initialization parameter.
- getInitParameter(String) - 类中的方法 org.apache.velocity.tools.view.JeeServletConfig
-
Returns an initialization parameter.
- getInitParameterNames() - 接口中的方法 org.apache.velocity.tools.view.JeeConfig
-
Returns all the parameter names.
- getInitParameterNames() - 类中的方法 org.apache.velocity.tools.view.JeeContextConfig
-
Returns all the parameter names.
- getInitParameterNames() - 类中的方法 org.apache.velocity.tools.view.JeeFilterConfig
-
Returns all the parameter names.
- getInitParameterNames() - 类中的方法 org.apache.velocity.tools.view.JeeServletConfig
-
Returns all the parameter names.
- getInputStream(String, boolean) - 类中的方法 org.apache.velocity.tools.view.VelocityView
- getInputStream(String, ServletContext) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
- getInstance() - 类中的方法 org.apache.velocity.tools.view.ServletUtils
- getIPAddress() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
-
Get the client browser IP address.
- getItems() - 类中的方法 org.apache.velocity.tools.view.AbstractSearchTool
-
Gets the results for the given criteria either in memory or by performing a new query for them.
- getItems() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Returns the item list.
- getItemsPerPage() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Returns the set number of items to be displayed per page of items
- getItemsPerPageKey() - 类中的方法 org.apache.velocity.tools.view.PagerTool
- getJavascript() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getLanguagesFilter() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- getLastIndex() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Returns the index of the last item on the current page of results (as determined by the current index, items per page, and the number of items).
- getLastModified(Resource) - 类中的方法 org.apache.velocity.tools.view.WebappResourceLoader
-
Checks to see when a resource was last modified
- getList() - 类中的方法 org.apache.velocity.tools.view.AbstractSearchTool.StoredResults
- getLog() - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
- getMajorVersion() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getMajorVersion() - 类中的方法 org.apache.velocity.tools.view.UAParser.UAEntity
- getMinorVersion() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getMinorVersion() - 类中的方法 org.apache.velocity.tools.view.UAParser.UAEntity
- getMutex(HttpSession, String, Object) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
-
Returns a mutex (lock object) unique to the specified session and stored under the specified key to allow for reliable synchronization on the session.
- getName() - 类中的方法 org.apache.velocity.tools.view.BreadcrumbTool.NavigationElement
-
Displayed name getter
- getName() - 接口中的方法 org.apache.velocity.tools.view.JeeConfig
-
Returns the name of the servlet (or filter) being used.
- getName() - 类中的方法 org.apache.velocity.tools.view.JeeContextConfig
-
Returns the name of the servlet (or filter) being used.
- getName() - 类中的方法 org.apache.velocity.tools.view.JeeFilterConfig
-
Returns the name of the servlet (or filter) being used.
- getName() - 类中的方法 org.apache.velocity.tools.view.JeeServletConfig
-
Returns the name of the servlet (or filter) being used.
- getName() - 类中的方法 org.apache.velocity.tools.view.UAParser.UAEntity
- getNav2() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getNav3() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getNav4() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getNav45() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getNav45up() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getNav4up() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getNav6() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getNav6up() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getNavgold() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getNewItemsKey() - 类中的方法 org.apache.velocity.tools.view.PagerTool
- getNextIndex() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Returns the index for the next page of items (as determined by the current index, items per page, and the number of items).
- getOpera3() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getOpera4() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getOpera5() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getOpera6() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getOpera7() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getOpera8() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getOpera9() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getOperatingSystem() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- getOperatingSystem() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getOperatingSystem() - 类中的方法 org.apache.velocity.tools.view.UAParser.UserAgent
- getOutputStream() - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
- getOutputWriter(HttpServletRequest, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Get the output stream writer to use.
- getPage() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Returns the current "page" of search items.
- getPageDescription() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Returns a description of the current page.
- getPageNumber() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Returns the "page number" for the current index.
- getPageNumber(int) - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Returns the "page number" for the specified index.
- getPagesAvailable() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Returns the number of pages that can be made from this list given the set number of items per page.
- getPath(HttpServletRequest) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
-
Retrieves the path for the specified request regardless of whether this is a direct request or an include by the RequestDispatcher.
- getPlain() - 类中的方法 org.apache.velocity.tools.view.CookieTool.SugarCookie
- getPreferredLanguage() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- getPreferredLocale() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- getPrevIndex() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Return the index for the previous page of items (as determined by the current index, items per page, and the number of items).
- getProperties(String) - 类中的方法 org.apache.velocity.tools.view.VelocityView
- getProperties(String, boolean) - 类中的方法 org.apache.velocity.tools.view.VelocityView
- getProperty(String, String) - 类中的方法 org.apache.velocity.tools.view.VelocityView
-
Simplifies process of getting a property from VelocityEngine, because the VelocityEngine interface sucks compared to the singleton's.
- getPropertyGet(Object, String, Info) - 类中的方法 org.apache.velocity.tools.view.WebappUberspector
-
Property getter
- getPropertySet(Object, String, Object, Info) - 类中的方法 org.apache.velocity.tools.view.WebappUberspector
-
Property setter
- getPublishToolboxes() - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
- getRenderingEngine() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- getRenderingEngine() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getRenderingEngine() - 类中的方法 org.apache.velocity.tools.view.UAParser.UserAgent
- getRequest() - 类中的方法 org.apache.velocity.tools.view.ParameterTool
-
Returns the current
ServletRequestfor this instance. - getRequest() - 接口中的方法 org.apache.velocity.tools.view.ViewContext
- getRequest() - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
- getRequestPath() - 类中的方法 org.apache.velocity.tools.view.LinkTool
-
Initially, this retrieves the path for the current request regardless of whether this is a direct request or an include by the RequestDispatcher.
- getResourceReader(String, String) - 类中的方法 org.apache.velocity.tools.view.WebappResourceLoader
-
Get Reader so that the Runtime can build a template with it.
- getResponse() - 接口中的方法 org.apache.velocity.tools.view.ViewContext
- getResponse() - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
- getServletApi(String) - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
-
Returns the current matching servlet request, response, session, or servlet context instance, or null if the key matches none of those keys.
- getServletContext() - 接口中的方法 org.apache.velocity.tools.view.JeeConfig
-
Returns the servlet context.
- getServletContext() - 类中的方法 org.apache.velocity.tools.view.JeeContextConfig
-
Returns the servlet context.
- getServletContext() - 类中的方法 org.apache.velocity.tools.view.JeeFilterConfig
-
Returns the servlet context.
- getServletContext() - 类中的方法 org.apache.velocity.tools.view.JeeServletConfig
-
Returns the servlet context.
- getServletContext() - 接口中的方法 org.apache.velocity.tools.view.ViewContext
- getServletContext() - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
- getSession() - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
- getSessionToolbox() - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
- getSessionToolbox(HttpSession) - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
- getSlip() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Returns a Sliding List of Indices for Pages of items.
- getSlipSize() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Returns the number of result page indices
PagerTool.getSlip()will return per request (if available). - getSlipSizeKey() - 类中的方法 org.apache.velocity.tools.view.PagerTool
- getSource() - 类中的方法 org.apache.velocity.tools.view.ParameterTool
-
Overrides ValueParser.getSource() to return the result of getRequest().getParameterMap() and expand singleton arrays within it first.
- getStatus() - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
- getStoredItems() - 类中的方法 org.apache.velocity.tools.view.AbstractSearchTool
- getStoredItems() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Retrieves stored search items (if any) from the user's session attributes.
- getStoredResults() - 类中的方法 org.apache.velocity.tools.view.AbstractSearchTool
-
Retrieves stored search results (if any) from the user's session attributes.
- getString() - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
-
Retrieves the buffered output, using the containing tag's 'charEncoding' attribute, or the tag's default encoding, if necessary.
- getTemplate(HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.VelocityView
-
Gets the requested template.
- getTemplate(HttpServletRequest, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Get a template by client request and response
- getTemplate(String) - 类中的方法 org.apache.velocity.tools.view.VelocityView
-
Retrieves the requested template.
- getTemplate(String) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Get a template by name
- getTemplate(String, String) - 类中的方法 org.apache.velocity.tools.view.VelocityView
-
Retrieves the requested template with the specified character encoding.
- getToolboxes() - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
- getToolboxKey() - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
- getToolVar(String) - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
-
Finds the automatically provided values, either configured tools or servlet API objects (request, response, etc).
- getTotal() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Returns the total number of items available.
- getUrl() - 类中的方法 org.apache.velocity.tools.view.BreadcrumbTool.NavigationElement
-
Destination URL getter
- getURL(String, ServletContext) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
- getUserAgent() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getUserAgentString() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- getUserAgentString() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getUserVar(String) - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
-
Finds "user" set values, either in the local context or in the scoped attributes if none is in the local context.
- getValue(String) - 类中的方法 org.apache.velocity.tools.view.ParameterTool
-
Overrides ValueParser.getValue(String key) to retrieve the value from the ServletRequest instead of an arbitrary Map.
- getValues(String) - 类中的方法 org.apache.velocity.tools.view.ParameterTool
-
Overrides ValueParser.getValues(String key) to retrieve Strings from the ServletRequest instead of an arbitrary Map.
- getVelocityContext() - 接口中的方法 org.apache.velocity.tools.view.ViewContext
- getVelocityContext() - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
- getVelocityEngine() - 接口中的方法 org.apache.velocity.tools.view.ViewContext
- getVelocityEngine() - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
- getVelocityProperty(String, String) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
- getVelocityView() - 类中的方法 org.apache.velocity.tools.view.VelocityViewFilter
- getVelocityView() - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
- getVelocityView(FilterConfig) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
-
Returns the shared
VelocityViewfor the specifiedFilterConfig's context. - getVelocityView(ServletConfig) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
-
Returns the shared
VelocityViewfor the specifiedServletConfig's context. - getVelocityView(ServletContext) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
-
Returns the shared
VelocityViewfor the specifiedServletContext. - getVelocityView(ServletContext, boolean) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
-
Returns the shared
VelocityViewfor the specifiedServletContext. - getVelocityView(JeeConfig) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
-
Returns the shared
VelocityViewfor the specifiedJeeConfig's context. - getVersion() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getVista() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getWin16() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getWin2k() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getWin31() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getWin32() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getWin3x() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getWin95() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getWin98() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getWinme() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getWinnt() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getWinxp() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- getWriter() - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
- Group(String) - 类的构造器 org.apache.velocity.tools.view.UiDependencyTool.Group
- GroupRule() - 类的构造器 org.apache.velocity.tools.view.UiDependencyTool.GroupRule
- GROUPS_KEY_SPACE - 类中的静态变量 org.apache.velocity.tools.view.UiDependencyTool
H
- handleRequest(HttpServletRequest, HttpServletResponse, Context) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
This was a common extension point, but now it is usually simpler to override
VelocityViewServlet.fillContext(org.apache.velocity.context.Context, jakarta.servlet.http.HttpServletRequest)to add custom things to theContextor override aVelocityViewServlet.getTemplate(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse)method to change howTemplates are retrieved. - hasItems() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Checks whether or not the result list is empty.
- hasSessionTools() - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
I
- ImportResponseWrapper(HttpServletResponse) - 类的构造器 org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
-
Constructs a new ImportResponseWrapper.
- ImportTool - org.apache.velocity.tools.view中的类
-
General-purpose text-importing view tool for templates.
- ImportTool() - 类的构造器 org.apache.velocity.tools.view.ImportTool
- INCLUDE_REQUEST_PARAMS_KEY - 类中的静态变量 org.apache.velocity.tools.view.LinkTool
- includeRequestParams - 类中的变量 org.apache.velocity.tools.view.LinkTool
- IncludeTool - org.apache.velocity.tools.view中的类
-
Allows for transparent content negotiation in a manner mimicking Apache httpd's MultiViews.
- IncludeTool() - 类的构造器 org.apache.velocity.tools.view.IncludeTool
- init() - 类中的方法 org.apache.velocity.tools.view.WebappUberspector
-
init method
- init(FilterConfig) - 类中的方法 org.apache.velocity.tools.view.VelocityViewFilter
-
Initializes VelocityView used to process requests.
- init(ServletConfig) - 类中的方法 org.apache.velocity.tools.view.VelocityLayoutServlet
-
Initializes Velocity, the view servlet and checks for changes to the initial layout configuration.
- init(ServletConfig) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Initializes servlet and VelocityView used to process requests.
- init(JeeConfig) - 类中的方法 org.apache.velocity.tools.view.VelocityView
-
Initializes ToolboxFactory, VelocityEngine, and sets default encoding for processing requests.
- init(JeeConfig, VelocityEngine) - 类中的方法 org.apache.velocity.tools.view.VelocityView
-
Initializes the Velocity runtime, first calling loadConfiguration(JeeConfig) to get a java.util.Properties of configuration information and then calling velocityEngine.init().
- init(ExtProperties) - 类中的方法 org.apache.velocity.tools.view.WebappResourceLoader
-
This is abstract in the base class, so we need it.
- initializeImportSupport(ValueParser) - 类中的方法 org.apache.velocity.tools.view.ImportTool
- initializeImportSupport(ValueParser) - 类中的方法 org.apache.velocity.tools.view.JsonTool
-
Importsupport initialization
- initializeImportSupport(ValueParser) - 类中的方法 org.apache.velocity.tools.view.XmlTool
-
ImportSupport initialization.
- initRequest(HttpServletRequest, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Request and response initialization.
- INSTANCE - 类中的静态变量 org.apache.velocity.tools.view.ServletUtils
- isAix() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isAix1() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isAix2() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isAix3() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isAix4() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isAmiga() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isAndroid() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isBlackberry() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isBlink() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isBsd() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isBSD() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isChrome() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isChrome() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isDec() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isDesktop() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isEdgeHTML() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isEmacs() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isFirefox() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isFirefox() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isFreebsd() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isGecko() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isGecko() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isHpux() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isHpux10() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isHpux9() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isIOS() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isIrix() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isIrix5() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isIrix6() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isJsonContentType(String) - 类中的静态方法 org.apache.velocity.tools.view.JsonTool
-
Check if a given content type is of JSON type
- isJsonMimeType(String) - 类中的静态方法 org.apache.velocity.tools.view.JsonTool
-
Check if a given mime type is of JSON type
- isKHTML() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isKonqueror() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isKonqueror() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isLinks() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isLinks() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isLinux() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isLinux() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isMac() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isMac68k() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isMacppc() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isMobile() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isMozilla() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isMozilla() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isMpras() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isMSIE() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isMSIE() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isNetscape() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isNetscape() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isOpera() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isOpera() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isOs2() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isOSX() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isOSX() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isPathChanged() - 类中的方法 org.apache.velocity.tools.view.LinkTool
- isPresto() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isReliant() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isRobot() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isSafari() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isSafari() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isSco() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isSinix() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isSourceModified(Resource) - 类中的方法 org.apache.velocity.tools.view.WebappResourceLoader
-
Checks to see if a resource has been deleted, moved or modified.
- isSun() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isSun4() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isSun5() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isSuni86() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isSymbian() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isTablet() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isTrident() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isTV() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isUnix() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isUnixware() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isVMS() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isWebappResource(String) - 类中的静态方法 org.apache.velocity.tools.view.ServletUtils
- isWebKit() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isWindows() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- isWindows() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- isX11() - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- iterator() - 类中的方法 org.apache.velocity.tools.view.BreadcrumbTool
-
Navigation elements iteration
J
- JeeConfig - org.apache.velocity.tools.view中的接口
-
Because sometimes you don't care about the difference between a servlet and a filter.
- JeeContextConfig - org.apache.velocity.tools.view中的类
-
Implements
JeeConfigwith only aServletContext. - JeeContextConfig(ServletContext) - 类的构造器 org.apache.velocity.tools.view.JeeContextConfig
- JeeFilterConfig - org.apache.velocity.tools.view中的类
-
Implements
JeeConfigwith aFilterConfig. - JeeFilterConfig(FilterConfig) - 类的构造器 org.apache.velocity.tools.view.JeeFilterConfig
- JeeServletConfig - org.apache.velocity.tools.view中的类
-
Implements
JeeConfigwith aServletConfig. - JeeServletConfig(ServletConfig) - 类的构造器 org.apache.velocity.tools.view.JeeServletConfig
- JsonTool - org.apache.velocity.tools.view中的类
-
View version of
JsonTool. - JsonTool() - 类的构造器 org.apache.velocity.tools.view.JsonTool
K
- KEY_ERROR_CAUSE - 类中的静态变量 org.apache.velocity.tools.view.VelocityLayoutServlet
-
The context key that holds the
Throwablethat broke the rendering of the requested screen. - KEY_ERROR_INVOCATION_EXCEPTION - 类中的静态变量 org.apache.velocity.tools.view.VelocityLayoutServlet
-
The context key that holds the
MethodInvocationExceptionthat broke the rendering of the requested screen. - KEY_ERROR_STACKTRACE - 类中的静态变量 org.apache.velocity.tools.view.VelocityLayoutServlet
-
The context key that holds the stack trace of the error that broke the rendering of the requested screen.
- KEY_LAYOUT - 类中的静态变量 org.apache.velocity.tools.view.VelocityLayoutServlet
-
The context/parameter key used to specify an alternate layout to be used for a request instead of the default layout.
- KEY_SCREEN_CONTENT - 类中的静态变量 org.apache.velocity.tools.view.VelocityLayoutServlet
-
The context key that will hold the content of the screen.
L
- layoutDir - 类中的变量 org.apache.velocity.tools.view.VelocityLayoutServlet
- LinkTool - org.apache.velocity.tools.view中的类
-
The LinkTool provides many methods to work with URIs and can help you: construct full URIs (absolute or relative) encode session ID into a URI retrieve server, port and path info for the current request reconstruct or alter the current request URI and more..
- LinkTool() - 类的构造器 org.apache.velocity.tools.view.LinkTool
- LOAD_DEFAULTS_KEY - 类中的静态变量 org.apache.velocity.tools.view.VelocityView
-
Controls loading of available default tool configurations provided by VelocityTools.
- log - 类中的静态变量 org.apache.velocity.tools.view.CookieTool
M
- makeGroup(String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
NOTE: This method may change or disappear w/o warning; don't depend on it unless you're willing to update your code whenever this changes.
- manageResourceNotFound(HttpServletRequest, HttpServletResponse, ResourceNotFoundException) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Manages the
ResourceNotFoundExceptionto send an HTTP 404 result when needed. - mark(int) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.SafeClosingHttpURLConnectionReader
- markSupported() - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.SafeClosingHttpURLConnectionReader
- maxAge(Object) - 类中的方法 org.apache.velocity.tools.view.CookieTool.SugarCookie
- merge(Template, Context, Writer) - 类中的方法 org.apache.velocity.tools.view.VelocityView
-
Merges the template with the context.
- mergeQueryStrings(String) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport
-
Merge original parameters into the query string
- mergeTemplate(Template, Context, HttpServletRequest, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Merge template
- mergeTemplate(Template, Context, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.VelocityLayoutServlet
-
Overrides VelocityViewServlet.mergeTemplate to do a two-pass render for handling layouts
- mergeTemplate(Template, Context, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
已过时。
- MOBILE - enum class 中的枚举常量 org.apache.velocity.tools.view.UAParser.DeviceType
N
- NavigationElement(String, String) - 类的构造器 org.apache.velocity.tools.view.BreadcrumbTool.NavigationElement
-
Constructor
- navigationElements - 类中的变量 org.apache.velocity.tools.view.BreadcrumbTool
-
Navigation elements for the current URI
- NeedsRule() - 类的构造器 org.apache.velocity.tools.view.UiDependencyTool.NeedsRule
O
- on(String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Adds all the files required for the specified group, then returns this instance.
- on(String, String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Adds the specified file to this instance's list of dependencies of the specified type, then returns this instance.
- org.apache.velocity.tools.view - 程序包 org.apache.velocity.tools.view
-
Contains tools and supporting infrastructure for using those tools in a servlet environment as well as general use classes to support use of Velocity as (or in) the view layer of web applications.
- OUTPUT_ENCODING_KEY - 类中的静态变量 org.apache.velocity.tools.view.VelocityView
-
The HTTP output encoding.
P
- PagerTool - org.apache.velocity.tools.view中的类
-
View tool for doing request-based pagination of items in an a list.
- PagerTool() - 类的构造器 org.apache.velocity.tools.view.PagerTool
- ParameterTool - org.apache.velocity.tools.view中的类
-
Utility class for easy parsing of
ServletRequestparameters. - ParameterTool() - 类的构造器 org.apache.velocity.tools.view.ParameterTool
-
Constructs a new instance
- ParameterTool(ServletRequest) - 类的构造器 org.apache.velocity.tools.view.ParameterTool
-
Constructs a new instance using the specified request.
- parseUserAgent(String, Logger) - 类中的静态方法 org.apache.velocity.tools.view.UAParser
- path(Object) - 类中的方法 org.apache.velocity.tools.view.CookieTool.SugarCookie
- paths - 类中的变量 org.apache.velocity.tools.view.WebappResourceLoader
-
The root paths for templates (relative to webapp's root).
- performMerge(Template, Context, Writer) - 类中的方法 org.apache.velocity.tools.view.VelocityView
-
This is here so developers may override it and gain access to the Writer which the template will be merged into.
- prepareContext(ViewToolContext, HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
- print() - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Formats and prints all the current dependencies of this tool, using a new line in between the printed/formatted files.
- print(String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
If the parameter value is a known type, then this will format and print all of this instance's current dependencies of the specified type, using a new line in between the printed/formatted files.
- print(String, String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Formats and prints all of this instance's current dependencies of the specified type, using the specified delimiter in between the printed/formatted files.
- printAll(String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Formats and prints all the current dependencies of this tool, using the specified delimiter in between the printed/formatted files.
- PROPERTIES_KEY - 类中的静态变量 org.apache.velocity.tools.view.VelocityView
-
This is the string that is looked for when getInitParameter is called ("org.apache.velocity.properties").
- PROPERTY_DEFAULT_LAYOUT - 类中的静态变量 org.apache.velocity.tools.view.VelocityLayoutServlet
-
The velocity.properties key for specifying the servlet's default layout template's filename.
- PROPERTY_DYNAMIC_LAYOUT - 类中的静态变量 org.apache.velocity.tools.view.VelocityLayoutServlet
-
The velocity.properties key for specifying whether dynamic layout change is allowed
- PROPERTY_ERROR_TEMPLATE - 类中的静态变量 org.apache.velocity.tools.view.VelocityLayoutServlet
-
The velocity.properties key for specifying the servlet's error template.
- PROPERTY_LAYOUT_DIR - 类中的静态变量 org.apache.velocity.tools.view.VelocityLayoutServlet
-
The velocity.properties key for specifying the relative directory holding layout templates.
- PUBLISH_TOOLBOXES_PROPERTY - 类中的静态变量 org.apache.velocity.tools.view.ViewToolManager
- publishApplicationTools() - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
-
Publish
Scope.APPLICATIONToolbox. - publishToolboxes(HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
-
Places the
Scope.REQUESTToolbox(if any) into theHttpServletRequestattributes usingToolbox.KEYas the key, places theScope.SESSIONToolbox (if any) into the attributes of theHttpSession(if any) then ensures that theScope.APPLICATIONToolbox (if any) has been placed in theServletContextattributes. - publishToolboxes(ServletRequest) - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
-
Places the
Scope.REQUESTToolbox(if any) into theServletRequestattributes usingToolbox.KEYas the key. - putToolProperties() - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
R
- read() - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.SafeClosingHttpURLConnectionReader
- read(char[]) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.SafeClosingHttpURLConnectionReader
- read(char[], int, int) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.SafeClosingHttpURLConnectionReader
- read(Object) - 类中的方法 org.apache.velocity.tools.view.ImportTool
-
Returns the supplied URL rendered as a String.
- read(String, boolean) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Reads group info out of the specified file and into this instance.
- ready() - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.SafeClosingHttpURLConnectionReader
- render(HttpServletRequest, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.VelocityView
- render(HttpServletRequest, Writer) - 类中的方法 org.apache.velocity.tools.view.VelocityView
- request - 类中的变量 org.apache.velocity.tools.view.BreadcrumbTool
-
Current request
- request - 类中的变量 org.apache.velocity.tools.view.CookieTool
- request - 类中的变量 org.apache.velocity.tools.view.LinkTool
- request - 类中的变量 org.apache.velocity.tools.view.ViewContextTool
- request - 类中的变量 org.apache.velocity.tools.view.ViewImportSupport
- REQUEST - 接口中的静态变量 org.apache.velocity.tools.view.ViewContext
-
Key used for the HTTP request object.
- requestCleanup(HttpServletRequest, HttpServletResponse, Context) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Cleanup routine called at the end of the request processing sequence allows a derived class to do resource cleanup or other end of process cycle tasks.
- reset() - 类中的方法 org.apache.velocity.tools.view.AbstractSearchTool
-
Sets the criteria and results to null, page index to zero, and items per page to the default.
- reset() - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Sets the item list to null, page index to zero, and items per page to the default.
- reset() - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.SafeClosingHttpURLConnectionReader
- resolve(UiDependencyTool) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool.Group
- response - 类中的变量 org.apache.velocity.tools.view.CookieTool
- response - 类中的变量 org.apache.velocity.tools.view.LinkTool
- response - 类中的变量 org.apache.velocity.tools.view.ViewImportSupport
- RESPONSE - 接口中的静态变量 org.apache.velocity.tools.view.ViewContext
-
Key used for the HTTP response object.
- ROBOT - enum class 中的枚举常量 org.apache.velocity.tools.view.UAParser.DeviceType
S
- secure(Object) - 类中的方法 org.apache.velocity.tools.view.CookieTool.SugarCookie
- servlet - 类中的变量 org.apache.velocity.tools.view.JeeServletConfig
- SERVLET_CONTEXT_KEY - 类中的静态变量 org.apache.velocity.tools.view.VelocityView
-
Key used to access the ServletContext in the Velocity application attributes.
- SERVLET_CONTEXT_KEY - 接口中的静态变量 org.apache.velocity.tools.view.ViewContext
-
Key used for the servlet context object in tool properties.
- servletContext - 类中的变量 org.apache.velocity.tools.view.ViewToolManager
- servletContext - 类中的变量 org.apache.velocity.tools.view.WebappResourceLoader
- ServletUtils - org.apache.velocity.tools.view中的类
-
A set of utility methods for supporting and using VelocityTools in the servlet environment.
- ServletUtils() - 类的构造器 org.apache.velocity.tools.view.ServletUtils
- session - 类中的变量 org.apache.velocity.tools.view.PagerTool
- session - 类中的变量 org.apache.velocity.tools.view.ViewContextTool
- SESSION - 接口中的静态变量 org.apache.velocity.tools.view.ViewContext
-
Key used for the HTTP session object.
- setAcceptLanguage(String) - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- SetAttributeExecutor(Logger, Introspector, Class, Object, String) - 类的构造器 org.apache.velocity.tools.view.WebappUberspector.SetAttributeExecutor
- setBrowser(String, String, String) - 类中的方法 org.apache.velocity.tools.view.UAParser.UserAgent
- setContentType(HttpServletRequest, HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
-
Sets the content type of the response.
- setContentType(String) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
-
Has no effect.
- setCreateSession(boolean) - 类中的方法 org.apache.velocity.tools.view.PagerTool
- setCreateSession(boolean) - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
-
Sets whether or not a new HttpSession should be created when there are session scoped tools to be stored in the session, but no session has been created yet.
- setCriteria(Object) - 类中的方法 org.apache.velocity.tools.view.AbstractSearchTool
-
Sets the criteria for this search.
- setCriteriaKey(String) - 类中的方法 org.apache.velocity.tools.view.AbstractSearchTool
- setDefaultContentType(String) - 类中的方法 org.apache.velocity.tools.view.VelocityView
-
Sets the configured default Content-Type.
- setDeviceType(UAParser.DeviceType) - 类中的方法 org.apache.velocity.tools.view.UAParser.UserAgent
- setEncoding(JeeConfig) - 类中的方法 org.apache.velocity.tools.view.VelocityView
- setFormat(String, String) - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Sets the format string for the specified file type.
- setFromRequest(HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.LinkTool
- setIncludeRequestParams(boolean) - 类中的方法 org.apache.velocity.tools.view.LinkTool
-
Controls whether or not this tool starts off with all parameters from the last request automatically.
- setIndex(int) - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Sets the index of the first result in the current page
- setIndexKey(String) - 类中的方法 org.apache.velocity.tools.view.PagerTool
- setItems(List) - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Sets the List to page through.
- setItemsPerPage(int) - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Sets the number of items returned in a page of items
- setItemsPerPageKey(String) - 类中的方法 org.apache.velocity.tools.view.PagerTool
- setLanguagesFilter(String) - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- setLocale(Locale) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
-
Has no effect.
- setName(String) - 类中的方法 org.apache.velocity.tools.view.BreadcrumbTool.NavigationElement
-
Displayed name setter
- setNewItemsKey(String) - 类中的方法 org.apache.velocity.tools.view.PagerTool
- setOperatingSystem(String, String, String) - 类中的方法 org.apache.velocity.tools.view.UAParser.UserAgent
- setPublishToolboxes(boolean) - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
-
Sets whether or not the creation of a new
ViewToolContextshould make the various scopedToolboxinstances available publically via the HttpServletRequest/HttpSession/ServletContext attributes or simply add the Toolbox instances directly to the context. - setRenderingEngine(String, String, String) - 类中的方法 org.apache.velocity.tools.view.UAParser.UserAgent
- setRequest(HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.BreadcrumbTool
-
Current request setter
- setRequest(HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.BrowserTool
-
Retrieves the User-Agent header from the request (if any).
- setRequest(HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.CookieTool
-
Sets the current
HttpServletRequest. - setRequest(HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Initializes this tool with the specified
HttpServletRequest. - setRequest(HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport
-
Sets the current
HttpServletRequest. - setRequest(ServletRequest) - 类中的方法 org.apache.velocity.tools.view.ParameterTool
-
Sets the current
ServletRequest - setResponse(HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.CookieTool
-
Sets the current
HttpServletResponse. - setResponse(HttpServletResponse) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport
-
Sets the current
HttpServletResponse. - setServletContext(ServletContext) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport
-
Sets the
ServletContext. - setSlipSize(int) - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Sets the number of result page indices for
PagerTool.getSlip()to list. - setSlipSizeKey(String) - 类中的方法 org.apache.velocity.tools.view.PagerTool
- setSource(Map) - 类中的方法 org.apache.velocity.tools.view.ParameterTool
-
Overrides ValueParser.setSource(Map source) to throw an UnsupportedOperationException, because this class uses a servlet request as its source, not a Map.
- setStatus(int) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.ImportResponseWrapper
-
Sets the status of the response
- setStoredItems(List) - 类中的方法 org.apache.velocity.tools.view.AbstractSearchTool
- setStoredItems(List) - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Stores current search items in the user's session attributes (if one currently exists) in order to do efficient result pagination.
- setStoredResults(AbstractSearchTool.StoredResults) - 类中的方法 org.apache.velocity.tools.view.AbstractSearchTool
-
Stores current search results in the user's session attributes (if one currently exists) in order to do efficient result pagination.
- setToolboxKey(String) - 类中的方法 org.apache.velocity.tools.view.ViewToolContext
- setToolboxKey(String) - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
-
Sets a new attribute key to be used for publishing each
Toolbox. - setup(HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.AbstractSearchTool
-
Sets the criteria *if* it is set in the request parameters.
- setup(HttpServletRequest) - 类中的方法 org.apache.velocity.tools.view.PagerTool
-
Sets the index, itemsPerPage, and/or slipSize *if* they are set in the request parameters.
- setUrl(String) - 类中的方法 org.apache.velocity.tools.view.BreadcrumbTool.NavigationElement
-
Destination URL setter
- setUserAgentString(String) - 类中的方法 org.apache.velocity.tools.view.BrowserTool
-
Sets the User-Agent string to be parsed for info.
- setVelocityEngine(VelocityEngine) - 类中的方法 org.apache.velocity.tools.view.VelocityView
-
Overrides super class to ensure engine is not set to null.
- setVelocityView(VelocityView) - 类中的方法 org.apache.velocity.tools.view.VelocityViewServlet
- SHARED_CONFIG_PARAM - 类中的静态变量 org.apache.velocity.tools.view.ServletUtils
- skip(long) - 类中的方法 org.apache.velocity.tools.view.ViewImportSupport.SafeClosingHttpURLConnectionReader
- SOURCE_FILE_KEY - 类中的静态变量 org.apache.velocity.tools.view.UiDependencyTool
- STORED_ITEMS_KEY - 类中的静态变量 org.apache.velocity.tools.view.PagerTool
-
the key under which items are stored in session
- STORED_RESULTS_KEY - 类中的静态变量 org.apache.velocity.tools.view.AbstractSearchTool
-
the key under which StoredResults are kept in session
- StoredResults(Object, List) - 类的构造器 org.apache.velocity.tools.view.AbstractSearchTool.StoredResults
-
Creates a new instance.
- stripSession(String) - 类中的静态方法 org.apache.velocity.tools.view.ViewImportSupport
-
Strips a servlet session ID from url.
- SugarCookie(Cookie) - 类的构造器 org.apache.velocity.tools.view.CookieTool.SugarCookie
- SugarCookie(String, String) - 类的构造器 org.apache.velocity.tools.view.CookieTool.SugarCookie
T
- TABLET - enum class 中的枚举常量 org.apache.velocity.tools.view.UAParser.DeviceType
- templatePaths - 类中的变量 org.apache.velocity.tools.view.WebappResourceLoader
- test(String) - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- test(String) - 类中的方法 org.apache.velocity.tools.view.BrowserToolDeprecatedMethods
-
已过时。
- TOOLS_KEY - 类中的静态变量 org.apache.velocity.tools.view.VelocityView
-
Key used to access the toolbox configuration file path from the Servlet or webapp init parameters ("org.apache.velocity.tools") or to access a live
FactoryConfigurationpreviously placed in the ServletContext attributes. - toString() - 类中的方法 org.apache.velocity.tools.view.BreadcrumbTool
-
Default concatenation of navigation elements, separated by '>'
- toString() - 类中的方法 org.apache.velocity.tools.view.BrowserTool
- toString() - 类中的方法 org.apache.velocity.tools.view.CookieTool.SugarCookie
- toString() - 类中的方法 org.apache.velocity.tools.view.CookieTool
- toString() - 类中的方法 org.apache.velocity.tools.view.LinkTool
-
Overrides to use response.encodeURL to get session id into URL if sessions are used but cookies are not supported.
- toString() - 类中的方法 org.apache.velocity.tools.view.UiDependencyTool
-
Returns an empty String to avoid polluting the template output after a successful call to
UiDependencyTool.on(String)orUiDependencyTool.on(String,String). - TV - enum class 中的枚举常量 org.apache.velocity.tools.view.UAParser.DeviceType
- TypeRule() - 类的构造器 org.apache.velocity.tools.view.UiDependencyTool.TypeRule
- TYPES_KEY_SPACE - 类中的静态变量 org.apache.velocity.tools.view.UiDependencyTool
U
- UAEntity(String, String, String) - 类的构造器 org.apache.velocity.tools.view.UAParser.UAEntity
- UAEntity(String, String, String, boolean) - 类的构造器 org.apache.velocity.tools.view.UAParser.UAEntity
- UAParser - org.apache.velocity.tools.view中的类
- UAParser() - 类的构造器 org.apache.velocity.tools.view.UAParser
- UAParser.DeviceType - org.apache.velocity.tools.view中的Enum Class
- UAParser.UAEntity - org.apache.velocity.tools.view中的类
- UAParser.UserAgent - org.apache.velocity.tools.view中的类
- UiDependencyTool - org.apache.velocity.tools.view中的类
-
NOTE: This tool is considered "beta" quality due to lack of public testing and is not automatically provided via the default tools.xml file.
- UiDependencyTool() - 类的构造器 org.apache.velocity.tools.view.UiDependencyTool
- UiDependencyTool.FileRule - org.apache.velocity.tools.view中的类
-
NOTE: This class may change or disappear w/o warning; don't depend on it unless you're willing to update your code whenever this changes.
- UiDependencyTool.Group - org.apache.velocity.tools.view中的类
-
NOTE: This class may change or disappear w/o warning; don't depend on it unless you're willing to update your code whenever this changes.
- UiDependencyTool.GroupRule - org.apache.velocity.tools.view中的类
-
NOTE: This class may change or disappear w/o warning; don't depend on it unless you're willing to update your code whenever this changes.
- UiDependencyTool.NeedsRule - org.apache.velocity.tools.view中的类
-
NOTE: This class may change or disappear w/o warning; don't depend on it unless you're willing to update your code whenever this changes.
- UiDependencyTool.TypeRule - org.apache.velocity.tools.view中的类
-
NOTE: This class may change or disappear w/o warning; don't depend on it unless you're willing to update your code whenever this changes.
- UNKNOWN - enum class 中的枚举常量 org.apache.velocity.tools.view.UAParser.DeviceType
- unpublishApplicationTools() - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
-
Removes any published
Scope.APPLICATIONToolbox. - updateGlobalProperties() - 类中的方法 org.apache.velocity.tools.view.ViewToolManager
-
Checks the internal
ToolboxFactoryfor any changes to the createSession or publishToolboxes settings. - USER_OVERWRITE_KEY - 类中的静态变量 org.apache.velocity.tools.view.VelocityView
-
Controls whether or not templates can overwrite tool and servlet API variables in the local context.
- USER_PROPERTIES_PATH - 类中的静态变量 org.apache.velocity.tools.view.VelocityView
-
Default velocity properties file path.
- USER_TOOLS_PATH - 类中的静态变量 org.apache.velocity.tools.view.VelocityView
-
Default toolbox configuration file path.
- UserAgent() - 类的构造器 org.apache.velocity.tools.view.UAParser.UserAgent
V
- value(Object) - 类中的方法 org.apache.velocity.tools.view.CookieTool.SugarCookie
- valueOf(String) - enum class中的静态方法 org.apache.velocity.tools.view.UAParser.DeviceType
-
Returns the enum constant of this class with the specified name.
- values() - enum class中的静态方法 org.apache.velocity.tools.view.UAParser.DeviceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VELOCITY_VIEW_KEY - 类中的静态变量 org.apache.velocity.tools.view.ServletUtils
- VelocityLayoutServlet - org.apache.velocity.tools.view中的类
-
Extension of the VelocityViewServlet to perform "two-pass" layout rendering and allow for a customized error screen.
- VelocityLayoutServlet() - 类的构造器 org.apache.velocity.tools.view.VelocityLayoutServlet
- VelocityView - org.apache.velocity.tools.view中的类
-
The class provides the following features:
- VelocityView(FilterConfig) - 类的构造器 org.apache.velocity.tools.view.VelocityView
- VelocityView(ServletConfig) - 类的构造器 org.apache.velocity.tools.view.VelocityView
- VelocityView(ServletContext) - 类的构造器 org.apache.velocity.tools.view.VelocityView
- VelocityView(JeeConfig) - 类的构造器 org.apache.velocity.tools.view.VelocityView
- VelocityViewFilter - org.apache.velocity.tools.view中的类
-
A filter to ensure VelocityTools
Toolboxes are available in the request/session/application scopes. - VelocityViewFilter() - 类的构造器 org.apache.velocity.tools.view.VelocityViewFilter
- VelocityViewServlet - org.apache.velocity.tools.view中的类
-
A servlet to process Velocity templates.
- VelocityViewServlet() - 类的构造器 org.apache.velocity.tools.view.VelocityViewServlet
- version(Object) - 类中的方法 org.apache.velocity.tools.view.CookieTool.SugarCookie
- ViewContext - org.apache.velocity.tools.view中的接口
-
This interface provides view tools in a servlet environment access to relevant context information, like servlet request, servlet context and the velocity context.
- ViewContextTool - org.apache.velocity.tools.view中的类
-
Extension of
ContextToolthat includes keys and values from theHttpServletRequest,HttpSessionandServletContext. - ViewContextTool() - 类的构造器 org.apache.velocity.tools.view.ViewContextTool
- ViewImportSupport - org.apache.velocity.tools.view中的类
-
Provides methods to import arbitrary local or remote resources as strings.
- ViewImportSupport() - 类的构造器 org.apache.velocity.tools.view.ViewImportSupport
- ViewImportSupport.ImportResponseWrapper - org.apache.velocity.tools.view中的类
-
Wraps responses to allow us to retrieve results as Strings.
- ViewImportSupport.SafeClosingHttpURLConnectionReader - org.apache.velocity.tools.view中的类
- ViewToolContext - org.apache.velocity.tools.view中的类
-
ToolContextimplementation specific to the servlet environment. - ViewToolContext(VelocityEngine, HttpServletRequest, HttpServletResponse, ServletContext) - 类的构造器 org.apache.velocity.tools.view.ViewToolContext
- ViewToolManager - org.apache.velocity.tools.view中的类
-
Manages tools for web applications.
- ViewToolManager(ServletContext) - 类的构造器 org.apache.velocity.tools.view.ViewToolManager
-
Constructs an instance already configured to use any configuration specified via a "org.apache.velocity.tools" system property.
- ViewToolManager(ServletContext, boolean) - 类的构造器 org.apache.velocity.tools.view.ViewToolManager
- ViewToolManager(ServletContext, boolean, boolean) - 类的构造器 org.apache.velocity.tools.view.ViewToolManager
W
- WebappResourceLoader - org.apache.velocity.tools.view中的类
-
Resource loader that uses the ServletContext of a webapp to load Velocity templates.
- WebappResourceLoader() - 类的构造器 org.apache.velocity.tools.view.WebappResourceLoader
- WebappUberspector - org.apache.velocity.tools.view中的类
-
This custom uberspector allows getAttribute() and setAttribute() as standard getters and setters for the "request","session" and "application" keys.
- WebappUberspector() - 类的构造器 org.apache.velocity.tools.view.WebappUberspector
- WebappUberspector.GetAttributeExecutor - org.apache.velocity.tools.view中的类
-
Executor for getAttribute(name) method.
- WebappUberspector.SetAttributeExecutor - org.apache.velocity.tools.view中的类
-
Executor for setAttribute(name,value) method
X
- XmlTool - org.apache.velocity.tools.view中的类
-
View version of
XmlTool. - XmlTool() - 类的构造器 org.apache.velocity.tools.view.XmlTool
All Classes and Interfaces|常量字段值|所有程序包|序列化表格
VelocityViewServlet.mergeTemplate(Template, Context, HttpServletRequest, HttpServletResponse)}