public enum Canonicalization extends Enum<Canonicalization>
| Enum Constant and Description |
|---|
RELAXED
The 'relaxed' canonicalization algorithm.
|
SIMPLE
The 'simple' canonicalization algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
canonicalizeBody(String body)
Performs body canonicalization.
|
abstract String |
canonicalizeHeader(String name,
String value)
Performs header canonicalization.
|
String |
getType()
Returns a string representation of the canonicalization algorithm.
|
static Canonicalization |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Canonicalization[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Canonicalization SIMPLE
public static final Canonicalization RELAXED
public static Canonicalization[] values()
for (Canonicalization c : Canonicalization.values()) System.out.println(c);
public static Canonicalization 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 final String getType()
public abstract String canonicalizeHeader(String name, String value)
name - The name of the header.value - The value of the header.Copyright © 2015–2018 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.