public interface Http2PromisedRequestVerifier
| Modifier and Type | Field and Description |
|---|---|
static Http2PromisedRequestVerifier |
ALWAYS_VERIFY
A default implementation of
Http2PromisedRequestVerifier which always returns positive responses for
all verification challenges. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAuthoritative(ChannelHandlerContext ctx,
Http2Headers headers)
Determine if a
Http2Headers are authoritative for a particular ChannelHandlerContext. |
boolean |
isCacheable(Http2Headers headers)
Determine if a request is cacheable.
|
boolean |
isSafe(Http2Headers headers)
Determine if a request is safe.
|
static final Http2PromisedRequestVerifier ALWAYS_VERIFY
Http2PromisedRequestVerifier which always returns positive responses for
all verification challenges.boolean isAuthoritative(ChannelHandlerContext ctx, Http2Headers headers)
Http2Headers are authoritative for a particular ChannelHandlerContext.ctx - The context on which the headers where received on.headers - The headers to be verified.true if the ctx is authoritative for the headers, false otherwise.boolean isCacheable(Http2Headers headers)
headers - The headers for a push request.true if the request associated with headers is known to be cacheable,
false otherwise.boolean isSafe(Http2Headers headers)
headers - The headers for a push request.true if the request associated with headers is known to be safe,
false otherwise.Copyright © 2008–2025 The Netty Project. All rights reserved.