@Override
  public boolean release() {
    ByteBuf buf = content();
    if (buf != null) {
      return buf.release();
    }
    return false;
  }
Request Response for serialization and de-serialization
ambry-protocol/src/main/java/com/github/ambry/protocol/RequestOrResponse.java