public interface ServerHttpAsyncRequestControl
Modifier and Type | Method and Description |
---|---|
void |
complete()
Causes asynchronous request processing to be completed.
|
boolean |
isCompleted()
Whether asynchronous request processing has been completed.
|
boolean |
isStarted()
Whether asynchronous request processing has been started.
|
void |
start()
Enable asynchronous processing after which the response remains open until a call
to
complete() is made or the server times out the request. |
void |
start(long timeout)
A variation on
start() that allows specifying a timeout value to use to
use for asynchronous processing. |
void start()
complete()
is made or the server times out the request. Once enabled,
additional calls to this method are ignored.void start(long timeout)
start()
that allows specifying a timeout value to use to
use for asynchronous processing. If complete()
is not called within the
specified value, the request times out.boolean isStarted()
void complete()
boolean isCompleted()