Top Description Fields Constructors Methods
jakarta.servlet.http

public final Enum MappingMatch

extends Enum<MappingMatch>
Class Inheritance

Enumeration of Servlet mapping types.

Since
Servlet 4.0

Field Summary

Modifier and TypeField and Description
public static final MappingMatch
CONTEXT_ROOT

This is used when the mapping was achieved with an exact match to the application's context root.

public static final MappingMatch
DEFAULT

This is used when the mapping was achieved with an exact match to the default servlet of the application, the '/' character.

public static final MappingMatch
EXACT

This is used when the mapping was achieved with an exact match to the incoming request.

public static final MappingMatch
EXTENSION

This is used when the mapping was achieved using an extension, such as "*.xhtml".

public static final MappingMatch
PATH

This is used when the mapping was achieved using a path, such as "/faces/*".

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static MappingMatch
public static MappingMatch[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CONTEXT_ROOTback to summary
public static final MappingMatch CONTEXT_ROOT

This is used when the mapping was achieved with an exact match to the application's context root.

DEFAULTback to summary
public static final MappingMatch DEFAULT

This is used when the mapping was achieved with an exact match to the default servlet of the application, the '/' character.

EXACTback to summary
public static final MappingMatch EXACT

This is used when the mapping was achieved with an exact match to the incoming request.

EXTENSIONback to summary
public static final MappingMatch EXTENSION

This is used when the mapping was achieved using an extension, such as "*.xhtml".

PATHback to summary
public static final MappingMatch PATH

This is used when the mapping was achieved using a path, such as "/faces/*".

Constructor Detail

MappingMatchback to summary
private MappingMatch()

Method Detail

valueOfback to summary
public static MappingMatch valueOf(String name)
valuesback to summary
public static MappingMatch[] values()