final ByteBuf extras = ctx.alloc().buffer(msg.getExtrasLength());
extras.writeBytes(extrasReleased, extrasReleased.readerIndex(), extrasReleased.readableBytes());
flags = extras.getInt(0);
extras.release();
}
response = new GetResponse(status, cas, flags, bucket, content, request);
} else if (request instanceof GetBucketConfigRequest) {
response = new GetBucketConfigResponse(status, bucket, content,
((GetBucketConfigRequest) request).hostname());
} else if (request instanceof InsertRequest) {
response = new InsertResponse(status, cas, bucket, content, request);