Saturday 15 August 2015

java - How do I close an AWS S3 client connection -



java - How do I close an AWS S3 client connection -

what protocol closing aws s3 client connection?

@override public boolean connect() { if (connected) homecoming false; else s3client = new amazons3client(credentials); homecoming true; } @override public boolean diconnect() { // should take place here? homecoming false; }

you don't need close 'connection", there's no such thing continuous connection s3 when using amazons3client.

the aws java sdk send rest requests s3, rest stateless, each rest request, signed user credentials information, doesn't need long connection(such session).

java amazon-web-services

No comments:

Post a Comment