List of usage examples for com.amazonaws ReadLimitInfo ReadLimitInfo
ReadLimitInfo
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; } }; }