Top Methods
io.undertow.client

public Interface PushCallback


Author
Stuart Douglas

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

false if the server wants the push to be rejected
handlePush
(ClientExchange
The request that initiated the push
originalRequest
,
ClientExchange
The pushed request
pushedRequest
)

Handles a server push.

Method Detail

handlePushback to summary
public boolean handlePush(ClientExchange originalRequest, ClientExchange pushedRequest)

Handles a server push. If the push cannot be handled for some reason, this method should return false and the underlying

Parameters
originalRequest:ClientExchange

The request that initiated the push

pushedRequest:ClientExchange

The pushed request

Returns:boolean

false if the server wants the push to be rejected