public static interface ContainerResponseWriter.TimeoutHandler
onTimeout(ContainerResponseWriter)callback method to get the response that should be returned to the client.
|Modifier and Type||Method and Description|
Method is called, when
void onTimeout(ContainerResponseWriter responseWriter)
ContainerResponseWriter.suspend(...)operation times out. The custom time-out handler implementation is responsible for making sure a (time-out) response is written to the context and that the container context is properly closed.
responseWriter- suspended container response writer that timed out.
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.