public static enum HttpPartSchema.Format extends Enum<HttpPartSchema.Format>
Enum Constant and Description |
---|
BINARY
Hexadecimal encoded octets (e.g.
|
BINARY_SPACED
Spaced-separated hexadecimal encoded octets (e.g.
|
BYTE
BASE-64 encoded characters.
|
DATE
|
DATE_TIME
|
DOUBLE
64-bit floating point number.
|
FLOAT
32-bit floating point number.
|
INT32
Signed 32 bits.
|
INT64
Signed 64 bits.
|
NO_FORMAT
Not specified.
|
PASSWORD
Used to hint UIs the input needs to be obscured.
|
UON
UON notation (e.g.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isOneOf(HttpPartSchema.Format... list)
Returns
|
String |
toString() |
static HttpPartSchema.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpPartSchema.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpPartSchema.Format INT32
public static final HttpPartSchema.Format INT64
public static final HttpPartSchema.Format FLOAT
public static final HttpPartSchema.Format DOUBLE
public static final HttpPartSchema.Format BYTE
public static final HttpPartSchema.Format BINARY
public static final HttpPartSchema.Format BINARY_SPACED
public static final HttpPartSchema.Format DATE
public static final HttpPartSchema.Format DATE_TIME
public static final HttpPartSchema.Format PASSWORD
public static final HttpPartSchema.Format UON
public static final HttpPartSchema.Format NO_FORMAT
public static HttpPartSchema.Format[] values()
for (HttpPartSchema.Format c : HttpPartSchema.Format.values()) System.out.println(c);
public static HttpPartSchema.Format 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 String toString()
toString
in class Enum<HttpPartSchema.Format>
public boolean isOneOf(HttpPartSchema.Format... list)
list
- The list of formats to check against.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.