forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Storage] Queue message encoding (Azure#19328)
* settings. * internal model. * wip. * decoding. * encode message. * enqueue/dequeue tests. * recording. * undo models. * more tests. * handler tests. * bundle failure args. * checkstyle. * checkstyle. * readme. * expose queue client. * handler sample. * CHANGELOG.md * fix npe. * some of pr feedback. * one more test. * two handlers. * pr feedback. * pr feedback.
- Loading branch information
1 parent
affeead
commit cb09813
Showing
54 changed files
with
4,408 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
282 changes: 260 additions & 22 deletions
282
sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueAsyncClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...orage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueMessageEncoding.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.storage.queue; | ||
|
||
/** | ||
* Determines how queue message body is represented in HTTP requests and responses. | ||
*/ | ||
public enum QueueMessageEncoding { | ||
/** | ||
* The queue message body is represented verbatim in HTTP requests and responses. I.e. message is not transformed. | ||
*/ | ||
NONE, | ||
|
||
/** | ||
* The queue message body is represented as Base64 encoded string in HTTP requests and responses. | ||
* <p> | ||
* This was the default behavior in the prior v8 and v11 library. | ||
* Using this option can make interop with an existing application easier. | ||
*/ | ||
BASE64 | ||
} |
Oops, something went wrong.