class AbstractBodyAdapter implements BodyAdapter {

  protected void requireSupport(TypeRef<?> type) {
    if (!supportsType(type)) {
      throw new UnsupportedOperationException("unsupported type: " + type);
    }
  }

  protected  AbstractBodyAdapter(MediaType... compatibleMediaTypes);

}