Top Description Fields Constructors Methods
jakarta.servlet.http

public final Enum MappingMatch

extends Enum<MappingMatch>
Class Inheritance

Represents the ways that a request can be mapped to a servlet
Since
Servlet 4.0

Field Summary

Modifier and TypeField and Description
public static final MappingMatch
CONTEXT_ROOT

The request was mapped to the servlet via the context root URL pattern of "".

public static final MappingMatch
DEFAULT

The request was mapped to the servlet via the default servlet URL pattern of "/" .

public static final MappingMatch
EXACT

The request was mapped to the servlet using an exact URL pattern match.

public static final MappingMatch
EXTENSION

The request was mapped to the servlet using an extension URL pattern match.

public static final MappingMatch
PATH

The request was mapped to the servlet using a path URL pattern.

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

The request was mapped to the servlet via the context root URL pattern of "".

DEFAULTback to summary
public static final MappingMatch DEFAULT

The request was mapped to the servlet via the default servlet URL pattern of "/" .

EXACTback to summary
public static final MappingMatch EXACT

The request was mapped to the servlet using an exact URL pattern match.

EXTENSIONback to summary
public static final MappingMatch EXTENSION

The request was mapped to the servlet using an extension URL pattern match.

PATHback to summary
public static final MappingMatch PATH

The request was mapped to the servlet using a path URL pattern.

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()