public class ResponseAnnotation extends Object implements Response
Response
annotation.Constructor and Description |
---|
ResponseAnnotation() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
annotationType() |
String[] |
api() |
ResponseAnnotation |
api(String[] value)
Sets the
|
int[] |
code() |
ResponseAnnotation |
code(int[] value)
Sets the
|
String[] |
d() |
ResponseAnnotation |
d(String[] value)
Sets the
|
String[] |
description() |
ResponseAnnotation |
description(String[] value)
Sets the
|
String[] |
ex() |
ResponseAnnotation |
ex(String[] value)
Sets the
|
String[] |
example() |
ResponseAnnotation |
example(String[] value)
Sets the
|
String[] |
examples() |
ResponseAnnotation |
examples(String[] value)
Sets the
|
String[] |
exs() |
ResponseAnnotation |
exs(String[] value)
Sets the
|
ResponseHeader[] |
headers() |
ResponseAnnotation |
headers(ResponseHeader[] value)
Sets the
|
Class<? extends HttpPartParser> |
parser() |
ResponseAnnotation |
parser(Class<? extends HttpPartParser> value)
Sets the
|
Schema |
schema() |
ResponseAnnotation |
schema(Schema value)
Sets the
|
Class<? extends HttpPartSerializer> |
serializer() |
ResponseAnnotation |
serializer(Class<? extends HttpPartSerializer> value)
Sets the
|
int[] |
value() |
ResponseAnnotation |
value(int[] value)
Sets the
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, toString
public ResponseAnnotation()
public Class<? extends Annotation> annotationType()
annotationType
in interface Annotation
public Class<? extends HttpPartParser> parser()
public ResponseAnnotation parser(Class<? extends HttpPartParser> value)
value
- The new value for this property.public Class<? extends HttpPartSerializer> serializer()
public ResponseAnnotation serializer(Class<? extends HttpPartSerializer> value)
value
- The new value for this property.public int[] code()
public ResponseAnnotation code(int[] value)
value
- The new value for this property.public int[] value()
public ResponseAnnotation value(int[] value)
value
- The new value for this property.public String[] description()
public ResponseAnnotation description(String[] value)
value
- The new value for this property.public ResponseAnnotation d(String[] value)
value
- The new value for this property.public ResponseAnnotation schema(Schema value)
value
- The new value for this property.public ResponseHeader[] headers()
public ResponseAnnotation headers(ResponseHeader[] value)
value
- The new value for this property.public ResponseAnnotation example(String[] value)
value
- The new value for this property.public ResponseAnnotation ex(String[] value)
value
- The new value for this property.public ResponseAnnotation examples(String[] value)
value
- The new value for this property.public ResponseAnnotation exs(String[] value)
value
- The new value for this property.public ResponseAnnotation api(String[] value)
value
- The new value for this property.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.