@Beta public enum UriEncodingStrategy extends Enum<UriEncodingStrategy>
| Enum Constant and Description |
|---|
BATCH
Batch segment.
|
NONE
Do not encode.
|
REGULAR
Regular request.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.escape.Escaper |
getPathPercentEscaper() |
com.google.common.escape.Escaper |
getQueryPercentEscaper() |
static UriEncodingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UriEncodingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UriEncodingStrategy NONE
public static final UriEncodingStrategy REGULAR
public static final UriEncodingStrategy BATCH
public static UriEncodingStrategy[] values()
for (UriEncodingStrategy c : UriEncodingStrategy.values()) System.out.println(c);
public static UriEncodingStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic com.google.common.escape.Escaper getPathPercentEscaper()
public com.google.common.escape.Escaper getQueryPercentEscaper()
Copyright © 2022 SAP SE. All rights reserved.