-
-
Methods in io.avaje.jex.spi with parameters of type SpiContext
| Modifier and Type |
Method |
Description |
void |
SpiRoutes.after(String pathInfo,
SpiContext ctx) |
Execute all appropriate after filters for the given request URI.
|
void |
SpiRoutes.before(String pathInfo,
SpiContext ctx) |
Execute all appropriate before filters for the given request URI.
|
void |
ProxyServiceManager.handleException(SpiContext ctx,
Exception e) |
|
void |
SpiServiceManager.handleException(SpiContext ctx,
Exception e) |
Handle the exception.
|
<T> T |
JsonService.jsonRead(Class<T> type,
SpiContext ctx) |
Read the request body as a bean and return the bean.
|
<T> T |
ProxyServiceManager.jsonRead(Class<T> clazz,
SpiContext ctx) |
|
<T> T |
SpiServiceManager.jsonRead(Class<T> clazz,
SpiContext ctx) |
Read and return the type from json request content.
|
void |
JsonService.jsonWrite(Object bean,
SpiContext ctx) |
Write the bean as JSON response content.
|
void |
ProxyServiceManager.jsonWrite(Object bean,
SpiContext ctx) |
|
void |
SpiServiceManager.jsonWrite(Object bean,
SpiContext ctx) |
Write as json to response content.
|
<E> void |
JsonService.jsonWriteStream(Iterator<E> stream,
SpiContext ctx) |
Write the beans as x-json-stream JSON with new line delimiter.
|
<E> void |
ProxyServiceManager.jsonWriteStream(Iterator<E> iterator,
SpiContext ctx) |
|
<E> void |
ProxyServiceManager.jsonWriteStream(Stream<E> stream,
SpiContext ctx) |
|
<E> void |
SpiServiceManager.jsonWriteStream(Iterator<E> iterator,
SpiContext ctx) |
Write as json stream to response content.
|
<E> void |
SpiServiceManager.jsonWriteStream(Stream<E> stream,
SpiContext ctx) |
Write as json stream to response content.
|