public static enum HttpPartSchema.Type extends Enum<HttpPartSchema.Type>
Enum Constant and Description |
---|
ARRAY
Array or collection.
|
BOOLEAN
Boolean.
|
FILE
File.
|
INTEGER
Decimal number.
|
NO_TYPE
Not specified.
|
NUMBER
Floating point number.
|
OBJECT
Map or bean.
|
STRING
String.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static HttpPartSchema.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpPartSchema.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpPartSchema.Type STRING
public static final HttpPartSchema.Type NUMBER
public static final HttpPartSchema.Type INTEGER
public static final HttpPartSchema.Type BOOLEAN
public static final HttpPartSchema.Type ARRAY
public static final HttpPartSchema.Type OBJECT
public static final HttpPartSchema.Type FILE
public static final HttpPartSchema.Type NO_TYPE
public static HttpPartSchema.Type[] values()
for (HttpPartSchema.Type c : HttpPartSchema.Type.values()) System.out.println(c);
public static HttpPartSchema.Type 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.Type>
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.