com.google.appengine.api.blobstore.dev
Class LocalBlobstoreService
- java.lang.Object
-
- AbstractLocalRpcService
-
- com.google.appengine.api.blobstore.dev.LocalBlobstoreService
-
public final class LocalBlobstoreService extends AbstractLocalRpcServiceImplementation of local blobstore service.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringBACKING_STORE_PROPERTYWhere to read/store the blobs from/to.static java.lang.StringGOOGLE_STORAGE_KEY_PREFIXThe prefix we apply to encoded Google Storage BlobKeysstatic java.lang.StringNO_STORAGE_PROPERTYTrue to put the blobstore into "memory-only" mode.static java.lang.StringPACKAGEThe package name for this service.
-
Constructor Summary
Constructors Constructor and Description LocalBlobstoreService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description CreateEncodedGoogleStorageKeyResponsecreateEncodedGoogleStorageKey(Status status, CreateEncodedGoogleStorageKeyRequest request)CreateUploadURLResponsecreateUploadURL(Status status, CreateUploadURLRequest request)VoidProtodeleteBlob(Status status, DeleteBlobRequest request)FetchDataResponsefetchData(Status status, FetchDataRequest request)java.lang.StringgetPackage()voidinit(LocalServiceContext context, java.util.Map<java.lang.String,java.lang.String> properties)voidstart()voidstop()
-
-
-
Field Detail
-
BACKING_STORE_PROPERTY
public static final java.lang.String BACKING_STORE_PROPERTY
Where to read/store the blobs from/to.- See Also:
- Constant Field Values
-
NO_STORAGE_PROPERTY
public static final java.lang.String NO_STORAGE_PROPERTY
True to put the blobstore into "memory-only" mode.- See Also:
- Constant Field Values
-
PACKAGE
public static final java.lang.String PACKAGE
The package name for this service.- See Also:
- Constant Field Values
-
GOOGLE_STORAGE_KEY_PREFIX
public static final java.lang.String GOOGLE_STORAGE_KEY_PREFIX
The prefix we apply to encoded Google Storage BlobKeys- See Also:
- Constant Field Values
-
-
Method Detail
-
getPackage
public java.lang.String getPackage()
-
init
public void init(LocalServiceContext context, java.util.Map<java.lang.String,java.lang.String> properties)
-
start
public void start()
-
stop
public void stop()
-
createUploadURL
public CreateUploadURLResponse createUploadURL(Status status, CreateUploadURLRequest request)
-
deleteBlob
public VoidProto deleteBlob(Status status, DeleteBlobRequest request)
-
fetchData
public FetchDataResponse fetchData(Status status, FetchDataRequest request)
-
createEncodedGoogleStorageKey
public CreateEncodedGoogleStorageKeyResponse createEncodedGoogleStorageKey(Status status, CreateEncodedGoogleStorageKeyRequest request)
-
-