| Modifier and Type | Field and Description |
|---|---|
| public static final Http2PromisedRequestVerifier | ALWAYS_VERIFY
A default implementation of |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the ctx is authoritative for the headers, false otherwise.The context on which the ctx, Http2Headers headers where received on.The headers to be verified. headers)Determine if a |
| public boolean | Returns: true if the request associated with headers is known to be cacheable,
false otherwise.The headers for a push request. headers)Determine if a request is cacheable. |
| public boolean | Returns: true if the request associated with headers is known to be safe,
false otherwise.The headers for a push request. headers)Determine if a request is safe. |
| ALWAYS_VERIFY | back to summary |
|---|---|
| public static final Http2PromisedRequestVerifier ALWAYS_VERIFY A default implementation of | |
| isAuthoritative | back to summary |
|---|---|
| public boolean isAuthoritative(ChannelHandlerContext ctx, Http2Headers headers) Determine if a
| |
| isCacheable | back to summary |
|---|---|
| public boolean isCacheable(Http2Headers headers) Determine if a request is cacheable.
| |
| isSafe | back to summary |
|---|---|
| public boolean isSafe(Http2Headers headers) Determine if a request is safe.
| |