public final class Route extends Iced
Modifier and Type | Field and Description |
---|---|
java.lang.String |
_api_name |
Handler |
_handler |
java.lang.Class<? extends Handler> |
_handler_class |
java.lang.reflect.Method |
_handler_method |
java.lang.String |
_http_method |
java.lang.String[] |
_path_params |
java.lang.String |
_summary |
java.lang.String |
_url |
Constructor and Description |
---|
Route() |
Route(RequestUri uri,
java.lang.String api_name,
java.lang.String summary,
java.lang.Class<? extends Handler> handler_class,
java.lang.String handler_method,
HandlerFactory handler_factory) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
RequestUri |
getUri() |
int |
getVersion() |
int |
hashCode() |
java.lang.StringBuffer |
markdown(Schema sinput,
Schema soutput)
Generate Markdown documentation for this Route.
|
java.lang.String |
toString() |
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public java.lang.String _http_method
public java.lang.String _url
public java.lang.String _summary
public java.lang.String _api_name
public java.lang.Class<? extends Handler> _handler_class
public java.lang.reflect.Method _handler_method
public java.lang.String[] _path_params
public Handler _handler
public Route()
public Route(RequestUri uri, java.lang.String api_name, java.lang.String summary, java.lang.Class<? extends Handler> handler_class, java.lang.String handler_method, HandlerFactory handler_factory)
public RequestUri getUri()
public int getVersion()
public java.lang.StringBuffer markdown(Schema sinput, Schema soutput)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object