Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Deprecated API

Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

Deprecated Interfaces
org.apache.struts2.views.TagLibrary use two other interfaces: `TagLibraryDirectiveProvider`, `TagLibraryModelProvider`

Deprecated Classes
org.apache.struts2.dispatcher.ActionContextCleanUp Since Struts 2.1.3, use `StrutsPrepareFilter` and `StrutsExecuteFilter` to use other Servlet filters that need access to the ActionContext
org.apache.struts2.dispatcher.FilterDispatcher Since Struts 2.1.3, use `StrutsPrepareAndExecuteFilter` instead or `StrutsPrepareFilter` and `StrutsExecuteFilter` if needing using the `ActionContextCleanUp` filter in addition to this one
org.apache.struts2.dispatcher.FilterDispatcherCompatWeblogic61 Since Struts 2.1.3 as it probably isn't used anymore
org.apache.struts2.impl.StrutsObjectFactory since version 2.3.16

Deprecated Fields
org.apache.struts2.StrutsConstants.STRUTS_FREEMARKER_TEMPLATES_CACHE

Deprecated Methods
org.apache.struts2.util.tomcat.buf.ByteChunk.append(char) Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.dispatcher.Dispatcher.createContextMap(HttpServletRequest, HttpServletResponse, ActionMapping, ServletContext) use version without servletContext param
org.apache.struts2.dispatcher.Dispatcher.createContextMap(Map, Map, Map, Map, HttpServletRequest, HttpServletResponse, ServletContext) use version without ServletContext param
org.apache.struts2.dispatcher.mapper.DefaultActionMapper.dropExtension(String) Since 2.1, use `DefaultActionMapper.dropExtension(java.lang.String, org.apache.struts2.dispatcher.mapper.ActionMapping)` instead
org.apache.struts2.util.tomcat.buf.ByteChunk.findNotBytes(byte[], int, int, byte[]) Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.util.tomcat.buf.ByteChunk.getClone() Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.views.xslt.XSLTResult.getExcludingPattern() Since 2.1.1
org.apache.struts2.util.tomcat.buf.ByteChunk.getInt() Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.views.xslt.XSLTResult.getMatchingPattern() Since 2.1.1
org.apache.struts2.interceptor.PrincipalProxy.getRequest() To obtain the HttpServletRequest in your action, use `org.apache.struts2.servlet.ServletRequestAware`, since this method will be dropped in future.
org.apache.struts2.servlet.interceptor.ServletPrincipalProxy.getRequest() To obtain the HttpServletRequest in your action, use `org.apache.struts2.servlet.ServletRequestAware`, since this method will be dropped in future.
org.apache.struts2.components.Token.getTokenNameField() Templates should use $parameters from now on, not $tag.
org.apache.struts2.util.tomcat.buf.ByteChunk.hashIgnoreCase() Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.util.StrutsUtil.include(Object, HttpServletRequest, HttpServletResponse) the request and response are stored in this util class, please use include(string)
org.apache.struts2.components.Include.include(String, Writer, ServletRequest, HttpServletResponse) use `Include.include(String, java.io.Writer, javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse, String)` instead with correct encoding specified
org.apache.struts2.util.tomcat.buf.Ascii.isAlpha(int) Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.util.tomcat.buf.Ascii.isLower(int) Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.util.tomcat.buf.Ascii.isUpper(int) Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.util.tomcat.buf.Ascii.isWhite(int) Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.util.tomcat.buf.Ascii.parseInt(byte[], int, int) Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.util.tomcat.buf.Ascii.parseInt(char[], int, int) Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.util.tomcat.buf.Ascii.parseLong(char[], int, int) Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.dispatcher.Dispatcher.sendError(HttpServletRequest, HttpServletResponse, ServletContext, int, Exception) remove in version 3.0 - use version without ServletContext parameter
org.apache.struts2.dispatcher.Dispatcher.serviceAction(HttpServletRequest, HttpServletResponse, ServletContext, ActionMapping) use version without ServletContext param
org.apache.struts2.dispatcher.Dispatcher.setConfigurationManager(ConfigurationManager) should be removed as is used only in tests
org.apache.struts2.views.xslt.XSLTResult.setExcludingPattern(String) Since 2.1.1
org.apache.struts2.views.xslt.XSLTResult.setLocation(String) Use #setStylesheetLocation(String)
org.apache.struts2.views.xslt.XSLTResult.setMatchingPattern(String) Since 2.1.1
org.apache.struts2.views.jsp.ui.TextFieldTag.setMaxLength(String) please use `TextFieldTag.setMaxlength(java.lang.String)` instead
org.apache.struts2.util.tomcat.buf.ByteChunk.setOptimizedWrite(boolean) Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.util.tomcat.buf.ByteChunk.startsWith(byte[]) Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.util.tomcat.buf.ByteChunk.startsWith(String) Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.util.tomcat.buf.ByteChunk.substract(ByteChunk) Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.util.tomcat.buf.Ascii.toUpper(int) Unused. Will be removed in Tomcat 8.0.x onwards.
org.apache.struts2.dispatcher.Dispatcher.wrapRequest(HttpServletRequest, ServletContext) use version without ServletContext param

Deprecated Constructors
org.apache.struts2.dispatcher.ng.ExecuteOperations(ServletContext, Dispatcher)
org.apache.struts2.dispatcher.ng.PrepareOperations(ServletContext, Dispatcher)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2000–2018 Apache Software Foundation. All rights reserved.