public interface AsyncServerExchangeHandler extends AsyncDataExchangeHandler
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handleRequest(HttpRequest request,
EntityDetails entityDetails,
ResponseChannel responseChannel,
HttpContext context)
Processes the actual HTTP request.
|
failedconsume, streamEnd, updateCapacityavailable, producereleaseResourcesvoid handleRequest(HttpRequest request, EntityDetails entityDetails, ResponseChannel responseChannel, HttpContext context) throws HttpException, IOException
request - the actual request.entityDetails - the request entity details or null if the request
does not enclose an entity.responseChannel - the response channel.context - the actual execution context.HttpExceptionIOExceptionCopyright © 2023. All rights reserved.