[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003e\u003ccode\u003eServingUrlOptions\u003c/code\u003e allows customization of image serving URLs created by the \u003ccode\u003eImagesService\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits several methods from \u003ccode\u003ejava.lang.Object\u003c/code\u003e, including \u003ccode\u003eequals\u003c/code\u003e, \u003ccode\u003ehashCode\u003c/code\u003e, and \u003ccode\u003etoString\u003c/code\u003e, with some being overridden.\u003c/p\u003e\n"],["\u003cp\u003eYou can set a \u003ccode\u003eBlobKey\u003c/code\u003e, crop the image, set the google storage filename, set an image size, or make the url secure, all while creating your options.\u003c/p\u003e\n"],["\u003cp\u003eMethods like \u003ccode\u003eblobKey\u003c/code\u003e, \u003ccode\u003ecrop\u003c/code\u003e, \u003ccode\u003egoogleStorageFileName\u003c/code\u003e, \u003ccode\u003eimageSize\u003c/code\u003e, and \u003ccode\u003esecureUrl\u003c/code\u003e all return \u003ccode\u003eServingUrlOptions\u003c/code\u003e, allowing for method chaining.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eequals\u003c/code\u003e, \u003ccode\u003ehashCode\u003c/code\u003e, and \u003ccode\u003etoString\u003c/code\u003e are methods used to check equality, generate hashcodes, and get a string representation of the object respectively.\u003c/p\u003e\n"]]],[],null,["# Class ServingUrlOptions (2.0.0)\n\n public final class ServingUrlOptions\n\nAllow users to customize the behavior of creating a image serving URL using\nthe [ImagesService](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.images.ImagesService). \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e ServingUrlOptions \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nMethods\n-------\n\n### blobKey(BlobKey blobKey)\n\n public ServingUrlOptions blobKey(BlobKey blobKey)\n\n### crop(boolean crop)\n\n public ServingUrlOptions crop(boolean crop)\n\n### equals(@Nullable Object object)\n\n public boolean equals(@Nullable Object object)\n\n**Overrides** \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-)\n\n### googleStorageFileName(String fileName)\n\n public ServingUrlOptions googleStorageFileName(String fileName)\n\n### hashCode()\n\n public int hashCode()\n\n**Overrides** \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--)\n\n### imageSize(int imageSize)\n\n public ServingUrlOptions imageSize(int imageSize)\n\n### secureUrl(boolean secureUrl)\n\n public ServingUrlOptions secureUrl(boolean secureUrl)\n\n### toString()\n\n public String toString()\n\n**Overrides** \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--)"]]