Module io.helidon.http
Package io.helidon.http
Enum Class RequestedUriDiscoveryContext.RequestedUriDiscoveryType
java.lang.Object
java.lang.Enum<RequestedUriDiscoveryContext.RequestedUriDiscoveryType>
io.helidon.http.RequestedUriDiscoveryContext.RequestedUriDiscoveryType
- All Implemented Interfaces:
Serializable
,Comparable<RequestedUriDiscoveryContext.RequestedUriDiscoveryType>
,Constable
- Enclosing interface:
RequestedUriDiscoveryContext
public static enum RequestedUriDiscoveryContext.RequestedUriDiscoveryType
extends Enum<RequestedUriDiscoveryContext.RequestedUriDiscoveryType>
Types of discovery of frontend URI. Defaults to
HOST
when frontend URI discovery is disabled (uses only Host
header and information about current request to determine scheme, host, port, and path).
Defaults to FORWARDED
when discovery is enabled. Can be explicitly configured on socket configuration builder.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionTheio.helidon.http.Header#FORWARDED
header is used to discover the original requested URI.This is the default, only theio.helidon.http.Header#HOST
header is used to discover requested URI.Theio.helidon.http.Header#X_FORWARDED_PROTO
,io.helidon.http.Header#X_FORWARDED_HOST
,io.helidon.http.Header#X_FORWARDED_PORT
,io.helidon.http.Header#X_FORWARDED_PREFIX
headers are used to discover the original requested URI. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORWARDED
Theio.helidon.http.Header#FORWARDED
header is used to discover the original requested URI. -
X_FORWARDED
Theio.helidon.http.Header#X_FORWARDED_PROTO
,io.helidon.http.Header#X_FORWARDED_HOST
,io.helidon.http.Header#X_FORWARDED_PORT
,io.helidon.http.Header#X_FORWARDED_PREFIX
headers are used to discover the original requested URI. -
HOST
This is the default, only theio.helidon.http.Header#HOST
header is used to discover requested URI.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-