Package org.eclipse.jetty.servlet
Class FilterMapping
java.lang.Object
org.eclipse.jetty.servlet.FilterMapping
- All Implemented Interfaces:
Dumpable
@ManagedObject("Filter Mappings")
@Deprecated(since="2021-05-27")
public class FilterMapping
extends Object
implements Dumpable
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.static final intDeprecated.static final intDeprecated.Dispatch typesstatic final intDeprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.static DispatcherTypedispatch(int type) Deprecated.Dispatch type from namestatic DispatcherTypeDeprecated.Dispatch type from namestatic intdispatch(DispatcherType type) Deprecated.Dispatch type from namedump()Deprecated.voiddump(Appendable out, String indent) Deprecated.Dump this object (and children) into an Appendable using the provided indent after any new lines.Deprecated.Deprecated.String[]Deprecated.String[]Deprecated.booleanDeprecated.voidsetDispatcherTypes(EnumSet<DispatcherType> dispatcherTypes) Deprecated.voidsetDispatches(int dispatches) Deprecated.voidsetFilterName(String filterName) Deprecated.voidsetPathSpec(String pathSpec) Deprecated.voidsetPathSpecs(String[] pathSpecs) Deprecated.voidsetServletName(String servletName) Deprecated.voidsetServletNames(String[] servletNames) Deprecated.toString()Deprecated.
-
Field Details
-
DEFAULT
public static final int DEFAULTDeprecated.Dispatch types- See Also:
-
REQUEST
public static final int REQUESTDeprecated.- See Also:
-
FORWARD
public static final int FORWARDDeprecated.- See Also:
-
INCLUDE
public static final int INCLUDEDeprecated.- See Also:
-
ERROR
public static final int ERRORDeprecated.- See Also:
-
ASYNC
public static final int ASYNCDeprecated.- See Also:
-
ALL
public static final int ALLDeprecated.- See Also:
-
-
Constructor Details
-
FilterMapping
public FilterMapping()Deprecated.
-
-
Method Details
-
dispatch
Deprecated.Dispatch type from name- Parameters:
type- the type name- Returns:
- the dispatcher type
-
dispatch
Deprecated.Dispatch type from name -
dispatch
Deprecated.Dispatch type from name -
appliesTo
Deprecated. -
isDefaultDispatches
public boolean isDefaultDispatches()Deprecated. -
getFilterName
Deprecated.- Returns:
- Returns the filterName.
-
getPathSpecs
Deprecated.- Returns:
- Returns the pathSpec.
-
setDispatcherTypes
Deprecated. -
getDispatcherTypes
Deprecated. -
setDispatches
public void setDispatches(int dispatches) Deprecated.- Parameters:
dispatches- The dispatches to set.- See Also:
-
setFilterName
Deprecated.- Parameters:
filterName- The filterName to set.
-
setPathSpecs
Deprecated.- Parameters:
pathSpecs- The Path specifications to which this filter should be mapped.
-
setPathSpec
Deprecated.- Parameters:
pathSpec- The pathSpec to set.
-
getServletNames
Deprecated.- Returns:
- Returns the servletName.
-
setServletNames
Deprecated.- Parameters:
servletNames- Maps thenamed filterto multiple servlets- See Also:
-
setServletName
Deprecated.- Parameters:
servletName- Maps thenamed filterto a single servlet- See Also:
-
toString
Deprecated. -
dump
Deprecated.Description copied from interface:DumpableDump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.- Specified by:
dumpin interfaceDumpable- Parameters:
out- The appendable to dump toindent- The indent to apply after any new lines.- Throws:
IOException- if unable to write to Appendable
-
dump
Deprecated.
-