MuRequest.handleAsync()
from a standard Mu Handler.@Deprecated public class AsyncContext extends Object implements ResponseInfo
Modifier and Type | Field and Description |
---|---|
Object |
state
Deprecated.
Use
MuRequest.attribute(String) instead. |
Constructor and Description |
---|
AsyncContext()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Future<Void> |
complete(boolean forceDisconnect)
Deprecated.
|
boolean |
completedSuccessfully()
Deprecated.
|
long |
duration()
Deprecated.
|
MuRequest |
request()
Deprecated.
|
MuResponse |
response()
Deprecated.
|
@Deprecated public Object state
MuRequest.attribute(String)
instead.@Deprecated public Future<Void> complete(boolean forceDisconnect)
@Deprecated public long duration()
ResponseInfo
duration
in interface ResponseInfo
@Deprecated public boolean completedSuccessfully()
ResponseInfo
Note: even server errors such as a 500 are considered "successful" if the full response was sent to the client.
completedSuccessfully
in interface ResponseInfo
@Deprecated public MuRequest request()
request
in interface ResponseInfo
@Deprecated public MuResponse response()
response
in interface ResponseInfo
Copyright © 2017–2021. All rights reserved.