@Contract public interface ResponseExecutorsProvider
executor services used to run
Jersey request and response processing code.
When Jersey receives a request for processing, it will use the
request executor to run the request
pre-processing and request-to-response transformation code. Once the response
is available, Jersey will use the responding
executor to run the response post-processing code, before the final response
is returned to the application layer.
The custom provider implementing this interface should be registered in the standard way on the server. The client must be created with configuration containing the provider, later registrations will be ignored.
RequestExecutorsProvider| Modifier and Type | Method and Description |
|---|---|
ExecutorService |
getRespondingExecutor()
Get response processing executor.
|
ExecutorService getRespondingExecutor()
null if the provider does not supply the executor.Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.