Uses of Interface
io.avaje.jex.spi.SpiContext
Packages that use SpiContext
-
Uses of SpiContext in io.avaje.jex.core
Methods in io.avaje.jex.core with parameters of type SpiContextModifier and TypeMethodDescription<T> TJacksonJsonService.jsonRead(Class<T> clazz, SpiContext ctx) <T> TJsonbJsonService.jsonRead(Class<T> clazz, SpiContext ctx) voidJacksonJsonService.jsonWrite(Object bean, SpiContext ctx) voidJsonbJsonService.jsonWrite(Object bean, SpiContext ctx) <T> voidJacksonJsonService.jsonWriteStream(Iterator<T> iterator, SpiContext ctx) <T> voidJsonbJsonService.jsonWriteStream(Iterator<T> iterator, SpiContext ctx) -
Uses of SpiContext in io.avaje.jex.spi
Methods in io.avaje.jex.spi with parameters of type SpiContextModifier and TypeMethodDescriptionvoidSpiRoutes.after(String pathInfo, SpiContext ctx) Execute all appropriate after filters for the given request URI.voidSpiRoutes.before(String pathInfo, SpiContext ctx) Execute all appropriate before filters for the given request URI.voidProxyServiceManager.handleException(SpiContext ctx, Exception e) voidSpiServiceManager.handleException(SpiContext ctx, Exception e) Handle the exception.<T> TJsonService.jsonRead(Class<T> type, SpiContext ctx) Read the request body as a bean and return the bean.<T> TProxyServiceManager.jsonRead(Class<T> clazz, SpiContext ctx) <T> TSpiServiceManager.jsonRead(Class<T> clazz, SpiContext ctx) Read and return the type from json request content.voidJsonService.jsonWrite(Object bean, SpiContext ctx) Write the bean as JSON response content.voidProxyServiceManager.jsonWrite(Object bean, SpiContext ctx) voidSpiServiceManager.jsonWrite(Object bean, SpiContext ctx) Write as json to response content.<E> voidJsonService.jsonWriteStream(Iterator<E> stream, SpiContext ctx) Write the beans as x-json-stream JSON with new line delimiter.<E> voidProxyServiceManager.jsonWriteStream(Iterator<E> iterator, SpiContext ctx) <E> voidProxyServiceManager.jsonWriteStream(Stream<E> stream, SpiContext ctx) <E> voidSpiServiceManager.jsonWriteStream(Iterator<E> iterator, SpiContext ctx) Write as json stream to response content.<E> voidSpiServiceManager.jsonWriteStream(Stream<E> stream, SpiContext ctx) Write as json stream to response content.