Uses of Class
com.google.appengine.api.blobstore.BlobKey
-
Packages that use BlobKey Package Description com.google.appengine.api.blobstore Provides management and persistent storage of large, immutable byte arrays.com.google.appengine.api.images Provides facilities for the creation and manipulation of images. -
-
Uses of BlobKey in com.google.appengine.api.blobstore
Methods in com.google.appengine.api.blobstore that return BlobKey Modifier and Type Method Description BlobKey
BlobstoreService. createGsBlobKey(String filename)
Create aBlobKey
for a Google Storage File.BlobKey
BlobInfo. getBlobKey()
Returns theBlobKey
of the Blob thisBlobInfo
describes.Methods in com.google.appengine.api.blobstore that return types with arguments of type BlobKey Modifier and Type Method Description Map<String,BlobKey>
BlobstoreService. getUploadedBlobs(javax.servlet.http.HttpServletRequest request)
Deprecated.Map<String,List<BlobKey>>
BlobstoreService. getUploads(javax.servlet.http.HttpServletRequest request)
Returns theBlobKey
for any files that were uploaded, keyed by the upload form "name" field.Methods in com.google.appengine.api.blobstore with parameters of type BlobKey Modifier and Type Method Description int
BlobKey. compareTo(BlobKey o)
void
BlobstoreService. delete(BlobKey... blobKeys)
Permanently deletes the specified blobs.byte[]
BlobstoreService. fetchData(BlobKey blobKey, long startIndex, long endIndex)
Get fragment from specified blob.@Nullable BlobInfo
BlobInfoFactory. loadBlobInfo(BlobKey blobKey)
Loads theBlobInfo
metadata forblobKey
.Iterator<BlobInfo>
BlobInfoFactory. queryBlobInfosAfter(@Nullable BlobKey previousBlob)
Queries forBlobInfo
instances, beginning at the blob followingpreviousBlob
in lexicographic order.void
BlobstoreService. serve(BlobKey blobKey, @Nullable ByteRange byteRange, javax.servlet.http.HttpServletResponse response)
Arrange for the specified blob to be served as the response content for the current request.void
BlobstoreService. serve(BlobKey blobKey, String rangeHeader, javax.servlet.http.HttpServletResponse response)
Arrange for the specified blob to be served as the response content for the current request.void
BlobstoreService. serve(BlobKey blobKey, javax.servlet.http.HttpServletResponse response)
Arrange for the specified blob to be served as the response content for the current request.Constructors in com.google.appengine.api.blobstore with parameters of type BlobKey Constructor Description BlobInfo(BlobKey blobKey, String contentType, Date creation, String filename, long size)
BlobInfo(BlobKey blobKey, String contentType, Date creation, String filename, long size, String md5Hash)
BlobInfo(BlobKey blobKey, String contentType, Date creation, String filename, long size, String md5Hash, @Nullable String gsObjectName)
Creates aBlobInfo
by providing theBlobKey
and all associated metadata.BlobstoreInputStream(BlobKey blobKey)
Creates a BlobstoreInputStream that reads data from the blob indicated by blobKey, starting at the beginning of the blob.BlobstoreInputStream(BlobKey blobKey, long offset)
Creates a BlobstoreInputStream that reads data from the blob indicated by blobKey, starting at offset. -
Uses of BlobKey in com.google.appengine.api.images
Methods in com.google.appengine.api.images that return BlobKey Modifier and Type Method Description @Nullable BlobKey
Image. getBlobKey()
If this image is backed by a blob, return the associatedBlobKey
.Methods in com.google.appengine.api.images with parameters of type BlobKey Modifier and Type Method Description ServingUrlOptions
ServingUrlOptions. blobKey(BlobKey blobKey)
void
ImagesService. deleteServingUrl(BlobKey blobKey)
Deletes a URL that was previously generated bygetServingUrl(BlobKey)
.String
ImagesService. getServingUrl(BlobKey blobKey)
Deprecated.Replaced byImagesService.getServingUrl(ServingUrlOptions)
.String
ImagesService. getServingUrl(BlobKey blobKey, boolean secureUrl)
Deprecated.Replaced byImagesService.getServingUrl(ServingUrlOptions)
.String
ImagesService. getServingUrl(BlobKey blobKey, int imageSize, boolean crop)
Deprecated.Replaced byImagesService.getServingUrl(ServingUrlOptions)
.String
ImagesService. getServingUrl(BlobKey blobKey, int imageSize, boolean crop, boolean secureUrl)
Deprecated.Replaced byImagesService.getServingUrl(ServingUrlOptions)
.Image
IImagesServiceFactory. makeImageFromBlob(BlobKey blobKey)
Create an image backed by the specifiedblobKey
.static Image
ImagesServiceFactory. makeImageFromBlob(BlobKey blobKey)
Create an image backed by the specifiedblobKey
.static ServingUrlOptions
ServingUrlOptions.Builder. withBlobKey(BlobKey blobKey)
Returns defaultServingUrlOptions
and callsServingUrlOptions.blobKey(BlobKey)
.
-