Sample use:
private static void setRequestJpegContent(HttpRequest request, File jpegFile) { request.setContent(new FileContent("image/jpeg", jpegFile)); }
Implementation is not thread-safe.
@since 1.4 @author moshenko@google.com (Jacob Moshenko)
|
|