@Contract(threading=STATELESS) public class AsyncServerExpectationFilter extends Object implements AsyncFilterHandler
| 构造器和说明 |
|---|
AsyncServerExpectationFilter() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected AsyncEntityProducer |
generateResponseContent(HttpResponse expectationFailed) |
AsyncDataConsumer |
handle(HttpRequest request,
EntityDetails entityDetails,
HttpContext context,
AsyncFilterChain.ResponseTrigger responseTrigger,
AsyncFilterChain chain)
Processes the incoming HTTP request and if processing has been completed
submits a final response to the client.
|
protected boolean |
verify(HttpRequest request,
HttpContext context) |
protected boolean verify(HttpRequest request, HttpContext context) throws HttpException
HttpExceptionprotected AsyncEntityProducer generateResponseContent(HttpResponse expectationFailed) throws HttpException
HttpExceptionpublic final AsyncDataConsumer handle(HttpRequest request, EntityDetails entityDetails, HttpContext context, AsyncFilterChain.ResponseTrigger responseTrigger, AsyncFilterChain chain) throws HttpException, IOException
AsyncFilterHandlerAsyncFilterChain.proceed(HttpRequest, EntityDetails, HttpContext, AsyncFilterChain.ResponseTrigger)
method.handle 在接口中 AsyncFilterHandlerrequest - the actual request head.entityDetails - the request entity details or null if the request
does not enclose an entity.context - the actual execution context.responseTrigger - the response trigger.chain - the next element in the request processing chain.null if entityDetails parameter is null.HttpExceptionIOExceptionCopyright © 2023. All rights reserved.