Search in sources :

Example 1 with ChunkedBodyReadableByteChannel

use of com.linkedin.databus.client.ChunkedBodyReadableByteChannel in project databus by linkedin.

the class StreamHttpResponseProcessor method startResponse.

@Override
public void startResponse(HttpResponse response) throws Exception {
    _decorated = new ChunkedBodyReadableByteChannel();
    _registerResponseVersionHdr = response.getHeader(DatabusHttpHeaders.DBUS_CLIENT_RELAY_PROTOCOL_VERSION_HDR);
    super.startResponse(response);
}
Also used : ChunkedBodyReadableByteChannel(com.linkedin.databus.client.ChunkedBodyReadableByteChannel)

Example 2 with ChunkedBodyReadableByteChannel

use of com.linkedin.databus.client.ChunkedBodyReadableByteChannel in project databus by linkedin.

the class BootstrapStartScnHttpResponseProcessor method startResponse.

@Override
public void startResponse(HttpResponse response) throws Exception {
    _decorated = new ChunkedBodyReadableByteChannel();
    super.startResponse(response);
}
Also used : ChunkedBodyReadableByteChannel(com.linkedin.databus.client.ChunkedBodyReadableByteChannel)

Aggregations

ChunkedBodyReadableByteChannel (com.linkedin.databus.client.ChunkedBodyReadableByteChannel)2