public String unmarshall(InputStream in) throws Exception { String location = new XmlResponsesSaxParser() .parseBucketLocationResponse(in); /* * S3 treats the US location differently, and assumes that if the * reported location is null, then it's a US bucket. */ if (location == null) location = "US"; return location; } }
public CopyObjectResultHandler unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser() .parseCopyObjectResponse(in); } }
public BucketLoggingConfiguration unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser() .parseLoggingStatusResponse(in).getBucketLoggingConfiguration(); } }
public InitiateMultipartUploadResult unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser().parseInitiateMultipartUploadResponse(in) .getInitiateMultipartUploadResult(); } }
@Override public GetObjectLockConfigurationResult unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser().parseGetObjectLockConfigurationResponse(in).getResult(); } }
public List<Bucket> unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser() .parseListMyBucketsResponse(in).getBuckets(); } }
public BucketVersioningConfiguration unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser() .parseVersioningConfigurationResponse(in).getConfiguration(); } }
public BucketAccelerateConfiguration unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser() .parseAccelerateConfigurationResponse(in).getConfiguration(); } }
public Owner unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser() .parseListMyBucketsResponse(in).getOwner(); } }
public BucketReplicationConfiguration unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser() .parseReplicationConfigurationResponse(in).getConfiguration(); } }
public MultipartUploadListing unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser().parseListMultipartUploadsResponse(in) .getListMultipartUploadsResult(); } }
public ObjectListing unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser() .parseListBucketObjectsResponse(in, shouldSDKDecodeResponse).getObjectListing(); } }
public VersionListing unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser() .parseListVersionsResponse(in, shouldSDKDecodeResponse).getListing(); } }
public RequestPaymentConfiguration unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser() .parseRequestPaymentConfigurationResponse(in).getConfiguration(); } }
@Override public GetObjectLegalHoldResult unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser().parseGetObjectLegalHoldResponse(in).getResult(); } }
@Override public GetObjectRetentionResult unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser().parseGetObjectRetentionResponse(in).getResult(); } }
public AccessControlList unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser() .parseAccessControlListResponse(in).getAccessControlList(); } }
public BucketWebsiteConfiguration unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser() .parseWebsiteConfigurationResponse(in).getConfiguration(); } }
public BucketTaggingConfiguration unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser() .parseTaggingConfigurationResponse(in).getConfiguration(); } }
@Override public GetObjectTaggingResult unmarshall(InputStream in) throws Exception { return new XmlResponsesSaxParser().parseObjectTaggingResponse(in).getResult(); } }