| Package | Description |
|---|---|
| org.jooby.apitool |
| Modifier and Type | Method and Description |
|---|---|
RouteResponse |
RouteResponse.description(String description)
Set a description.
|
RouteResponse |
RouteMethod.response()
Route response metadata.
|
RouteResponse |
RouteResponse.status(Map<Integer,String> status)
Set status code map.
|
RouteResponse |
RouteResponse.type(Type type)
Set return type.
|
| Modifier and Type | Method and Description |
|---|---|
RouteMethod |
RouteMethod.response(RouteResponse response)
Set a route response.
|
| Constructor and Description |
|---|
RouteMethod(String method,
String pattern,
RouteResponse returns)
Creates a new
RouteMethod. |
Copyright © 2021. All rights reserved.