@Override
  public long getSize(Object t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) {
    return -1;
  }
Creates new provider with flexible setup.
@param options options for provider
gson/src/org/immutables/gson/stream/GsonMessageBodyProvider.java