No, the callback is invoked by the IO thread, so you would need to
dispatch to a worker thread.
Stuart
> ______________________________
On Fri, Mar 31, 2017 at 6:58 AM, Michael Grove <mike@stardog.com> wrote:
> If I have some code ala
>
> theRequest.getRequestReceiver().receiveFullString(( theExchange, str) -> {
> ...
> });
>
> Is it ok to perform a time consuming task w/ the body of the request in the
> callback, or is it better to move off the io thread and use
> `HttpServerExchange.getInputStream`?
>
> Cheers,
>
> Mike
>
_________________
> undertow-dev mailing list
> undertow-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev
_______________________________________________
undertow-dev mailing list
undertow-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev