Skip to content

Commit d7851bf

Browse files
committed
Updating Javadoc on the put object call to remove references to InputStreams which were used in an older version of the implementation
1 parent 503da25 commit d7851bf

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

ds3-sdk/src/main/java/com/spectralogic/ds3client/Ds3Client.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public abstract DeleteObjectResponse deleteObject(
128128
DeleteObjectRequest request) throws IOException, SignatureException;
129129

130130
/**
131-
* Get an object in a bucket from a DS3 endpoint
131+
* Retrieves an object from DS3
132132
* @param request The Get Object Request object used to customize the HTTP request. The get object request object
133133
* has some options for customizing the request. See {@link GetObjectRequest} for the full list of
134134
* options that can be configured.
@@ -141,9 +141,7 @@ public abstract GetObjectResponse getObject(GetObjectRequest request)
141141
throws IOException, SignatureException;
142142

143143
/**
144-
* Puts a new object to an existing bucket to a DS3 endpoint. If the InputStream passed into the PutObjectRequest
145-
* is not seekable, meaning if InputStream.markSupported() returns false, the request will fail and throw a
146-
* {@link com.spectralogic.ds3client.networking.RequiresMarkSupportedException}.
144+
* Puts a new object to an existing bucket. The call will fail if the bucket does not exist.
147145
* @param request The Put Object Request object used to customize the HTTP request. The put object request object
148146
* has some options for customizing the request. See {@link PutObjectRequest} for the full list of
149147
* options that can be configured.

ds3-sdk/src/main/java/com/spectralogic/ds3client/commands/PutObjectRequest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
import java.util.UUID;
2424

2525
/**
26-
* Maps to a DS3 Single Object Put request. This request requires that the InputStream is seekable, that is the
27-
* InputStream.markSupported() method must return true. By default the Java FileInputStream does not do this.
26+
* Maps to a DS3 Single Object Put request.
2827
*/
2928
public class PutObjectRequest extends AbstractRequest {
3029

0 commit comments

Comments
 (0)