|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AsyncContextDelegate
Utilized by the Servlet container response writer to deal with the container async features.
Individual instances are created by AsyncContextDelegateProvider.
AsyncContextDelegateProvider| Method Summary | |
|---|---|
void |
complete()
Invoked upon a response writing completion when the response write is either committed or canceled. |
void |
suspend()
Invoked by the superior ContainerResponseWriter responsible for writing the response when processing is to be
suspended. |
| Method Detail |
|---|
void suspend()
throws IllegalStateException
ContainerResponseWriter responsible for writing the response when processing is to be
suspended. An implementation can throw an UnsupportedOperationException if suspend is not supported (the default
behavior).
IllegalStateException - if underlying servlet request throws an exception.ContainerResponseWriter.suspend(long, java.util.concurrent.TimeUnit, org.glassfish.jersey.server.spi.ContainerResponseWriter.TimeoutHandler)void complete()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||