FilterChainEvent to trigger an HTTP/2 push promise and trigger a new request to be sent upstream to
generate a response for said push promise.
| Modifier and Type | Class and Description |
|---|---|
| public static class | PushEvent.
Construct a new |
| Modifier and Type | Field and Description |
|---|---|
| private static final ThreadCache. | |
| private MimeHeaders | |
| private HttpRequestPacket | |
| private String | |
| private String | |
| public static final Object |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static PushEvent. | builder()
Returns: a new |
| public static PushEvent | create(final PushBuilder builder)
Construct a new |
| private static PushEvent | |
| public MimeHeaders | |
| public HttpHeader | |
| public String | |
| public String | |
| private PushEvent | |
| private PushEvent | |
| public void | |
| public Object |
| CACHE_IDX | back to summary |
|---|---|
| private static final ThreadCache. | |
| headers | back to summary |
|---|---|
| private MimeHeaders headers | |
| httpRequest | back to summary |
|---|---|
| private HttpRequestPacket httpRequest | |
| method | back to summary |
|---|---|
| private String method | |
| path | back to summary |
|---|---|
| private String path | |
| TYPE | back to summary |
|---|---|
| public static final Object TYPE | |
| PushEvent | back to summary |
|---|---|
| private PushEvent() | |
| builder | back to summary |
|---|---|
public static PushEvent.
| |
| create | back to summary |
|---|---|
| public static PushEvent create(final PushBuilder builder) Construct a new | |
| create | back to summary |
|---|---|
| private static PushEvent create(final PushEvent. | |
| getHeaders | back to summary |
|---|---|
public MimeHeaders getHeaders()
| |
| getHttpRequest | back to summary |
|---|---|
public HttpHeader getHttpRequest()
| |
| getMethod | back to summary |
|---|---|
public String getMethod()
| |
| getPath | back to summary |
|---|---|
public String getPath()
| |
| init | back to summary |
|---|---|
| private PushEvent init(final PushBuilder builder) | |
| init | back to summary |
|---|---|
| private PushEvent init(final PushEvent. | |
| recycle | back to summary |
|---|---|
| public void recycle() This should be called by the entity generating the actual push and container requests. Developers using this event can ignore this. | |
| type | back to summary |
|---|---|
| public Object type() Implements org.
| |
PushEvent. Any missing required values will result in an exception when build() is
invoked;
| Modifier and Type | Field and Description |
|---|---|
| private MimeHeaders | |
| private HttpRequestPacket | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public PushEvent | |
| public PushEvent. | |
| public PushEvent. | |
| public PushEvent. | |
| public PushEvent. | |
| private static String |
| headers | back to summary |
|---|---|
| private MimeHeaders headers | |
| httpRequest | back to summary |
|---|---|
| private HttpRequestPacket httpRequest | |
| method | back to summary |
|---|---|
| private String method | |
| path | back to summary |
|---|---|
| private String path | |
| PushEventBuilder | back to summary |
|---|---|
| private PushEventBuilder() | |
| build | back to summary |
|---|---|
public PushEvent build()
| |
| headers | back to summary |
|---|---|
| public PushEvent. The headers of the push request.
| |
| httpRequest | back to summary |
|---|---|
| public PushEvent. The
| |
| method | back to summary |
|---|---|
| public PushEvent. The push method. Defaults to
| |
| path | back to summary |
|---|---|
| public PushEvent. The path of the push request.
| |
| validate | back to summary |
|---|---|
| private static String validate(final String val) | |