Class ServingUrlOptions (2.0.0)

public final class ServingUrlOptions

Allow users to customize the behavior of creating a image serving URL using the ImagesService.

Inheritance

java.lang.Object > ServingUrlOptions

Methods

blobKey(BlobKey blobKey)

public ServingUrlOptions blobKey(BlobKey blobKey)
Parameter
NameDescription
blobKeyBlobKey
Returns
TypeDescription
ServingUrlOptions

crop(boolean crop)

public ServingUrlOptions crop(boolean crop)
Parameter
NameDescription
cropboolean
Returns
TypeDescription
ServingUrlOptions

equals(@Nullable Object object)

public boolean equals(@Nullable Object object)
Parameter
NameDescription
object@org.checkerframework.checker.nullness.qual.Nullable java.lang.Object
Returns
TypeDescription
boolean
Overrides

googleStorageFileName(String fileName)

public ServingUrlOptions googleStorageFileName(String fileName)
Parameter
NameDescription
fileNameString
Returns
TypeDescription
ServingUrlOptions

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

imageSize(int imageSize)

public ServingUrlOptions imageSize(int imageSize)
Parameter
NameDescription
imageSizeint
Returns
TypeDescription
ServingUrlOptions

secureUrl(boolean secureUrl)

public ServingUrlOptions secureUrl(boolean secureUrl)
Parameter
NameDescription
secureUrlboolean
Returns
TypeDescription
ServingUrlOptions

toString()

public String toString()
Returns
TypeDescription
String
Overrides