Example usage for com.amazonaws ReadLimitInfo ReadLimitInfo

List of usage examples for com.amazonaws ReadLimitInfo ReadLimitInfo

Introduction

In this page you can find the example usage for com.amazonaws ReadLimitInfo ReadLimitInfo.

Prototype

ReadLimitInfo

Source Link

Usage

From source file:com.ibm.og.s3.v4.SignableRequestAdapter.java

License:Open Source License

public SignableRequestAdapter(final AuthenticatedHttpRequest request) {
    this.request = checkNotNull(request);
    this.endpoint = URI.create(request.getUri().getScheme() + "://" + request.getUri().getAuthority());
    this.resourcePath = this.request.getUri().getPath();
    this.readLimitInfo = new ReadLimitInfo() {
        @Override//from   w w w .j ava 2  s  .  com
        public int getReadLimit() {
            return Integer.MAX_VALUE;
        }
    };
}