ServingConfigTrailingSlashBehavior

enum ServingConfigTrailingSlashBehavior : Enum<ServingConfigTrailingSlashBehavior> , ConvertibleToJava<ServingConfigTrailingSlashBehavior>

Defines how to handle a trailing slash in the URL path.

Entries

Link copied to clipboard

No behavior is specified. Files are served at their exact location only, and trailing slashes are only added to directory indexes.

Link copied to clipboard

Trailing slashes are added to directory indexes as well as to any URL path not ending in a file extension.

Link copied to clipboard

Trailing slashes are removed from directory indexes as well as from any URL path not ending in a file extension.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): ServingConfigTrailingSlashBehavior
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: ServingConfigTrailingSlashBehavior
Link copied to clipboard
Link copied to clipboard