public class HeaderAnnotation extends Object implements Header
Header
annotation.Constructor and Description |
---|
HeaderAnnotation() |
Modifier and Type | Method and Description |
---|---|
String[] |
_default() |
HeaderAnnotation |
_default(String[] value)
Sets the
|
String[] |
_enum() |
HeaderAnnotation |
_enum(String[] value)
Sets the
|
boolean |
aev() |
HeaderAnnotation |
aev(boolean value)
Sets the
|
boolean |
allowEmptyValue() |
HeaderAnnotation |
allowEmptyValue(boolean value)
Sets the
|
Class<? extends Annotation> |
annotationType() |
String[] |
api() |
HeaderAnnotation |
api(String[] value)
Sets the
|
String |
cf() |
HeaderAnnotation |
cf(String value)
Sets the
|
String |
collectionFormat() |
HeaderAnnotation |
collectionFormat(String value)
Sets the
|
String[] |
d() |
HeaderAnnotation |
d(String[] value)
Sets the
|
String[] |
description() |
HeaderAnnotation |
description(String[] value)
Sets the
|
String[] |
df() |
HeaderAnnotation |
df(String[] value)
Sets the
|
String[] |
e() |
HeaderAnnotation |
e(String[] value)
Sets the
|
boolean |
emax() |
HeaderAnnotation |
emax(boolean value)
Sets the
|
boolean |
emin() |
HeaderAnnotation |
emin(boolean value)
Sets the
|
String[] |
ex() |
HeaderAnnotation |
ex(String[] value)
Sets the
|
String[] |
example() |
HeaderAnnotation |
example(String[] value)
Sets the
|
boolean |
exclusiveMaximum() |
HeaderAnnotation |
exclusiveMaximum(boolean value)
Sets the
|
boolean |
exclusiveMinimum() |
HeaderAnnotation |
exclusiveMinimum(boolean value)
Sets the
|
String |
f() |
HeaderAnnotation |
f(String value)
Sets the
|
String |
format() |
HeaderAnnotation |
format(String value)
Sets the
|
Items |
items() |
HeaderAnnotation |
items(Items value)
Sets the
|
String |
max() |
HeaderAnnotation |
max(String value)
Sets the
|
long |
maxi() |
HeaderAnnotation |
maxi(long value)
Sets the
|
String |
maximum() |
HeaderAnnotation |
maximum(String value)
Sets the
|
long |
maxItems() |
HeaderAnnotation |
maxItems(long value)
Sets the
|
long |
maxl() |
HeaderAnnotation |
maxl(long value)
Sets the
|
long |
maxLength() |
HeaderAnnotation |
maxLength(long value)
Sets the
|
String |
min() |
HeaderAnnotation |
min(String value)
Sets the
|
long |
mini() |
HeaderAnnotation |
mini(long value)
Sets the
|
String |
minimum() |
HeaderAnnotation |
minimum(String value)
Sets the
|
long |
minItems() |
HeaderAnnotation |
minItems(long value)
Sets the
|
long |
minl() |
HeaderAnnotation |
minl(long value)
Sets the
|
long |
minLength() |
HeaderAnnotation |
minLength(long value)
Sets the
|
String |
mo() |
HeaderAnnotation |
mo(String value)
Sets the
|
boolean |
multi() |
HeaderAnnotation |
multi(boolean value)
Sets the
|
String |
multipleOf() |
HeaderAnnotation |
multipleOf(String value)
Sets the
|
String |
n() |
HeaderAnnotation |
n(String value)
Sets the
|
String |
name() |
HeaderAnnotation |
name(String value)
Sets the
|
String |
p() |
HeaderAnnotation |
p(String value)
Sets the
|
Class<? extends HttpPartParser> |
parser() |
HeaderAnnotation |
parser(Class<? extends HttpPartParser> value)
Sets the
|
String |
pattern() |
HeaderAnnotation |
pattern(String value)
Sets the
|
boolean |
r() |
HeaderAnnotation |
r(boolean value)
Sets the
|
boolean |
required() |
HeaderAnnotation |
required(boolean value)
Sets the
|
Class<? extends HttpPartSerializer> |
serializer() |
HeaderAnnotation |
serializer(Class<? extends HttpPartSerializer> value)
Sets the
|
boolean |
sie() |
HeaderAnnotation |
sie(boolean value)
Sets the
|
boolean |
skipIfEmpty() |
HeaderAnnotation |
skipIfEmpty(boolean value)
Sets the
|
String |
t() |
HeaderAnnotation |
t(String value)
Sets the
|
String |
type() |
HeaderAnnotation |
type(String value)
Sets the
|
boolean |
ui() |
HeaderAnnotation |
ui(boolean value)
Sets the
|
boolean |
uniqueItems() |
HeaderAnnotation |
uniqueItems(boolean value)
Sets the
|
String |
value() |
HeaderAnnotation |
value(String value)
Sets the
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, toString
public HeaderAnnotation()
public Class<? extends Annotation> annotationType()
annotationType
in interface Annotation
public boolean skipIfEmpty()
public HeaderAnnotation skipIfEmpty(boolean value)
value
- The new value for this property.public boolean sie()
public HeaderAnnotation sie(boolean value)
value
- The new value for this property.public Class<? extends HttpPartSerializer> serializer()
public HeaderAnnotation serializer(Class<? extends HttpPartSerializer> value)
value
- The new value for this property.public Class<? extends HttpPartParser> parser()
public HeaderAnnotation parser(Class<? extends HttpPartParser> value)
value
- The new value for this property.public boolean multi()
public HeaderAnnotation multi(boolean value)
value
- The new value for this property.public HeaderAnnotation name(String value)
value
- The new value for this property.public HeaderAnnotation n(String value)
value
- The new value for this property.public HeaderAnnotation value(String value)
value
- The new value for this property.public String[] description()
public HeaderAnnotation description(String[] value)
value
- The new value for this property.public HeaderAnnotation d(String[] value)
value
- The new value for this property.public boolean required()
public HeaderAnnotation required(boolean value)
value
- The new value for this property.public boolean r()
public HeaderAnnotation r(boolean value)
value
- The new value for this property.public HeaderAnnotation type(String value)
value
- The new value for this property.public HeaderAnnotation t(String value)
value
- The new value for this property.public HeaderAnnotation format(String value)
value
- The new value for this property.public HeaderAnnotation f(String value)
value
- The new value for this property.public boolean allowEmptyValue()
public HeaderAnnotation allowEmptyValue(boolean value)
value
- The new value for this property.public boolean aev()
public HeaderAnnotation aev(boolean value)
value
- The new value for this property.public HeaderAnnotation items(Items value)
value
- The new value for this property.public String collectionFormat()
public HeaderAnnotation collectionFormat(String value)
value
- The new value for this property.public HeaderAnnotation cf(String value)
value
- The new value for this property.public HeaderAnnotation _default(String[] value)
value
- The new value for this property.public HeaderAnnotation df(String[] value)
value
- The new value for this property.public HeaderAnnotation maximum(String value)
value
- The new value for this property.public HeaderAnnotation max(String value)
value
- The new value for this property.public boolean exclusiveMaximum()
public HeaderAnnotation exclusiveMaximum(boolean value)
value
- The new value for this property.public boolean emax()
public HeaderAnnotation emax(boolean value)
value
- The new value for this property.public HeaderAnnotation minimum(String value)
value
- The new value for this property.public HeaderAnnotation min(String value)
value
- The new value for this property.public boolean exclusiveMinimum()
public HeaderAnnotation exclusiveMinimum(boolean value)
value
- The new value for this property.public boolean emin()
public HeaderAnnotation emin(boolean value)
value
- The new value for this property.public long maxLength()
public HeaderAnnotation maxLength(long value)
value
- The new value for this property.public long maxl()
public HeaderAnnotation maxl(long value)
value
- The new value for this property.public long minLength()
public HeaderAnnotation minLength(long value)
value
- The new value for this property.public long minl()
public HeaderAnnotation minl(long value)
value
- The new value for this property.public HeaderAnnotation pattern(String value)
value
- The new value for this property.public HeaderAnnotation p(String value)
value
- The new value for this property.public long maxItems()
public HeaderAnnotation maxItems(long value)
value
- The new value for this property.public long maxi()
public HeaderAnnotation maxi(long value)
value
- The new value for this property.public long minItems()
public HeaderAnnotation minItems(long value)
value
- The new value for this property.public long mini()
public HeaderAnnotation mini(long value)
value
- The new value for this property.public boolean uniqueItems()
public HeaderAnnotation uniqueItems(boolean value)
value
- The new value for this property.public boolean ui()
public HeaderAnnotation ui(boolean value)
value
- The new value for this property.public HeaderAnnotation _enum(String[] value)
value
- The new value for this property.public HeaderAnnotation e(String[] value)
value
- The new value for this property.public String multipleOf()
public HeaderAnnotation multipleOf(String value)
value
- The new value for this property.public HeaderAnnotation mo(String value)
value
- The new value for this property.public HeaderAnnotation example(String[] value)
value
- The new value for this property.public HeaderAnnotation ex(String[] value)
value
- The new value for this property.public HeaderAnnotation api(String[] value)
value
- The new value for this property.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.