public class XmlResponsesSaxParser extends Object
Modifier and Type | Class and Description |
---|---|
static class |
XmlResponsesSaxParser.AccessControlListHandler
Handler for AccessControlList response XML documents.
|
static class |
XmlResponsesSaxParser.BucketAccelerateConfigurationHandler |
static class |
XmlResponsesSaxParser.BucketCrossOriginConfigurationHandler |
static class |
XmlResponsesSaxParser.BucketLifecycleConfigurationHandler
HTTP/1.1 200 OK x-amz-id-2: Uuag1LuByRx9e6j5Onimru9pO4ZVKnJ2Qz7/C1NPcfTWAtRPfTaOFg==
x-amz-request-id: 656c76696e6727732072657175657374 Date: Tue, 20 Sep 2012 20:34:56 GMT
Content-Length: xxx Connection: keep-alive Server: AmazonS3
|
static class |
XmlResponsesSaxParser.BucketLocationHandler
Handler for CreateBucketConfiguration response XML documents for a bucket.
|
static class |
XmlResponsesSaxParser.BucketLoggingConfigurationHandler
Handler for LoggingStatus response XML documents for a bucket.
|
static class |
XmlResponsesSaxParser.BucketReplicationConfigurationHandler
Handler for parsing the get replication configuration response from Amazon S3.
|
static class |
XmlResponsesSaxParser.BucketTaggingConfigurationHandler |
static class |
XmlResponsesSaxParser.BucketVersioningConfigurationHandler |
static class |
XmlResponsesSaxParser.BucketWebsiteConfigurationHandler |
static class |
XmlResponsesSaxParser.CompleteMultipartUploadHandler |
static class |
XmlResponsesSaxParser.CopyObjectResultHandler |
static class |
XmlResponsesSaxParser.DeleteObjectsHandler |
static class |
XmlResponsesSaxParser.GetBucketAnalyticsConfigurationHandler |
static class |
XmlResponsesSaxParser.GetBucketInventoryConfigurationHandler |
static class |
XmlResponsesSaxParser.GetBucketMetricsConfigurationHandler |
static class |
XmlResponsesSaxParser.GetObjectTaggingHandler
Handler for unmarshalling the response from GET Object Tagging.
|
static class |
XmlResponsesSaxParser.InitiateMultipartUploadHandler |
static class |
XmlResponsesSaxParser.ListAllMyBucketsHandler
Handler for ListAllMyBuckets response XML documents.
|
static class |
XmlResponsesSaxParser.ListBucketAnalyticsConfigurationHandler |
static class |
XmlResponsesSaxParser.ListBucketHandler
Handler for ListBucket response XML documents.
|
static class |
XmlResponsesSaxParser.ListBucketInventoryConfigurationsHandler |
static class |
XmlResponsesSaxParser.ListBucketMetricsConfigurationsHandler |
static class |
XmlResponsesSaxParser.ListMultipartUploadsHandler |
static class |
XmlResponsesSaxParser.ListObjectsV2Handler
Handler for ListObjectsV2 response XML documents.
|
static class |
XmlResponsesSaxParser.ListPartsHandler |
static class |
XmlResponsesSaxParser.ListVersionsHandler
Handler for ListVersionsResult XML document.
|
static class |
XmlResponsesSaxParser.RequestPaymentConfigurationHandler
Handler for parsing RequestPaymentConfiguration XML response associated with an Amazon S3
bucket.
|
Constructor and Description |
---|
XmlResponsesSaxParser()
Constructs the XML SAX parser.
|
public XmlResponsesSaxParser() throws com.amazonaws.SdkClientException
com.amazonaws.SdkClientException
protected void parseXmlInputStream(DefaultHandler handler, InputStream inputStream) throws IOException
handler
- the handler for the XML documentinputStream
- an input stream containing the XML document to parseIOException
- on error reading from the input stream (ie connection reset)com.amazonaws.SdkClientException
- on error with malformed XML, etcprotected InputStream sanitizeXmlDocument(DefaultHandler handler, InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.ListBucketHandler parseListBucketObjectsResponse(InputStream inputStream, boolean shouldSDKDecodeResponse) throws IOException
inputStream
- XML data input stream.com.amazonaws.SdkClientException
IOException
public XmlResponsesSaxParser.ListObjectsV2Handler parseListObjectsV2Response(InputStream inputStream, boolean shouldSDKDecodeResponse) throws IOException
inputStream
- XML data input stream.com.amazonaws.SdkClientException
IOException
public XmlResponsesSaxParser.ListVersionsHandler parseListVersionsResponse(InputStream inputStream, boolean shouldSDKDecodeResponse) throws IOException
inputStream
- XML data input stream.com.amazonaws.SdkClientException
IOException
public XmlResponsesSaxParser.ListAllMyBucketsHandler parseListMyBucketsResponse(InputStream inputStream) throws IOException
inputStream
- XML data input stream.com.amazonaws.SdkClientException
IOException
public XmlResponsesSaxParser.AccessControlListHandler parseAccessControlListResponse(InputStream inputStream) throws IOException
inputStream
- XML data input stream.com.amazonaws.SdkClientException
IOException
public XmlResponsesSaxParser.BucketLoggingConfigurationHandler parseLoggingStatusResponse(InputStream inputStream) throws IOException
inputStream
- XML data input stream.com.amazonaws.SdkClientException
IOException
public XmlResponsesSaxParser.BucketLifecycleConfigurationHandler parseBucketLifecycleConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.BucketCrossOriginConfigurationHandler parseBucketCrossOriginConfigurationResponse(InputStream inputStream) throws IOException
IOException
public String parseBucketLocationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.BucketVersioningConfigurationHandler parseVersioningConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.BucketWebsiteConfigurationHandler parseWebsiteConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.BucketReplicationConfigurationHandler parseReplicationConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.BucketTaggingConfigurationHandler parseTaggingConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.BucketAccelerateConfigurationHandler parseAccelerateConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.DeleteObjectsHandler parseDeletedObjectsResult(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.CopyObjectResultHandler parseCopyObjectResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.CompleteMultipartUploadHandler parseCompleteMultipartUploadResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.InitiateMultipartUploadHandler parseInitiateMultipartUploadResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.ListMultipartUploadsHandler parseListMultipartUploadsResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.ListPartsHandler parseListPartsResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.GetObjectTaggingHandler parseObjectTaggingResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.GetBucketMetricsConfigurationHandler parseGetBucketMetricsConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.ListBucketMetricsConfigurationsHandler parseListBucketMetricsConfigurationsResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.GetBucketAnalyticsConfigurationHandler parseGetBucketAnalyticsConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.ListBucketAnalyticsConfigurationHandler parseListBucketAnalyticsConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.GetBucketInventoryConfigurationHandler parseGetBucketInventoryConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.ListBucketInventoryConfigurationsHandler parseBucketListInventoryConfigurationsResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.RequestPaymentConfigurationHandler parseRequestPaymentConfigurationResponse(InputStream inputStream) throws IOException
inputStream
- com.amazonaws.SdkClientException
IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.