Created
March 31, 2011 19:07
-
-
Save davidsantiago/897003 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
context.getBlobStore().blobBuilder(key).userMetadata(ImmutableMap.of("Adrian", "powderpuff")).payload(TEST_STRING).contentType(MediaType.TEXT_PLAIN).calculateMD5().build() | |
;; 1 | |
(build-blob blobstore :metadata {"Adrian" "powderpuff"} :payload TEST_STRING :content-type MediaType/TEXT_PLAIN :md5 true) | |
;; 2 | |
(build-blob blobstore :metadata {"Adrian" "powderpuff"} | |
:payload (blob-payload TEST_STRING :content-type MediaType/TEXT_PLAIN :md5 true)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment