Skip to content

Instantly share code, notes, and snippets.

@akiradeveloper
Last active August 29, 2015 14:27
Show Gist options
  • Save akiradeveloper/4375edc83c67721717a8 to your computer and use it in GitHub Desktop.
Save akiradeveloper/4375edc83c67721717a8 to your computer and use it in GitHub Desktop.
AmazonS3Clientが発行するリクエスト
createBucket(mybucket):
HttpRequest(PUT,http://127.0.0.1:8080/mybucket/,List(Host: 127.0.0.1:8080, Authorization: AWS accessKey:QbGVxD/xVPDyw9FZ8KKLPKzxGXo=, User-Agent: aws-sdk-java/1.9.7 Mac_OS_X/10.10 Java_HotSpot(TM)_64-Bit_Server_VM/25.45-b02/1.8.0_45, Date: Thu, 13 Aug 2015 00:54:56 GMT, Content-Type: application/x-www-form-urlencoded; charset=UTF-8, Content-Length: 0, Connection: Keep-Alive),Empty,HTTP/1.1)
listBuckets:
HttpRequest(GET,http://127.0.0.1:8080/,List(Host: 127.0.0.1:8080, Authorization: AWS accessKey:ero7mumf5Va0wYHBRFsfmuKG5wc=, User-Agent: aws-sdk-java/1.9.7 Mac_OS_X/10.10 Java_HotSpot(TM)_64-Bit_Server_VM/25.45-b02/1.8.0_45, Date: Thu, 13 Aug 2015 01:01:16 GMT, Content-Type: application/x-www-form-urlencoded; charset=UTF-8, Connection: Keep-Alive),Empty,HTTP/1.1)
listObjects(mybucket):
HttpRequest(GET,http://127.0.0.1:8080/mybucket/,List(Host: 127.0.0.1:8080, Authorization: AWS accessKey:t1QNqkTgwCJ3r9ajPvI6+3PUFBU=, User-Agent: aws-sdk-java/1.9.7 Mac_OS_X/10.10 Java_HotSpot(TM)_64-Bit_Server_VM/25.45-b02/1.8.0_45, Date: Thu, 13 Aug 2015 01:02:43 GMT, Content-Type: application/x-www-form-urlencoded; charset=UTF-8, Connection: Keep-Alive),Empty,HTTP/1.1)
putObject(mybucket, myobj, testfile)
RequestContext(HttpRequest(PUT,http://127.0.0.1:8080/mybucket/myobj,List(Host: 127.0.0.1:8080, Authorization: AWS id:1i1Zr4d6YW9lgwi6vWAG6Lr9KBQ=, User-Agent: aws-sdk-java/1.9.7 Mac_OS_X/10.10 Java_HotSpot(TM)_64-Bit_Server_VM/25.45-b02/1.8.0_45, Date: Fri, 14 Aug 2015 01:01:10 GMT, Content-Type: application/octet-stream, Content-MD5: dplCvju/p7oD/awN5WRnPg==, Content-Length: 14, Connection: Keep-Alive, Expect: 100-continue),HttpEntity(application/octet-stream,We love Scala!),HTTP/1.1),Actor[akka://s3-storage-v0/temp/$a],)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment