public interface AsyncContextDelegate
AsyncContextDelegateProvider
.AsyncContextDelegateProvider
Modifier and Type | Method and Description |
---|---|
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. |
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()
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.