Index
All Classes and Interfaces|All Packages
A
- ARRAY - Enum constant in enum com.azure.json.JsonWriteState
-
In a JSON array.
B
- BOOLEAN - Enum constant in enum com.azure.json.JsonToken
-
Boolean false, literal false.
- bufferObject() - Method in class com.azure.json.JsonReader
-
Reads and returns the current JSON object the
JsonReader
is pointing to. - build() - Method in class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Creates a new Netty-backed
HttpClient
instance on every call, using the configuration set in the builder at the time of the build method call.
C
- close() - Method in class com.azure.json.JsonReader
-
Closes the JSON stream.
- close() - Method in class com.azure.json.JsonWriter
-
Closes the JSON stream.
- com.azure.core.http.netty - package com.azure.core.http.netty
-
Package containing the types for instantiating and using the Netty HTTP client.
- com.azure.json - package com.azure.json
-
The Azure JSON library provides interfaces for stream-style JSON reading and writing.
- COMPLETED - Enum constant in enum com.azure.json.JsonWriteState
-
JSON stream has completed.
- COMPLETED - Static variable in class com.azure.json.JsonWriteContext
-
Final writing context.
- configuration(Configuration) - Method in class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Sets the configuration store that is used during construction of the HTTP client.
- connectionProvider(ConnectionProvider) - Method in class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Sets the connection provider.
- connectTimeout(Duration) - Method in class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Sets the connection timeout for a request to be sent.
- createInstance() - Method in class com.azure.core.http.netty.NettyAsyncHttpClientProvider
- createInstance(HttpClientOptions) - Method in class com.azure.core.http.netty.NettyAsyncHttpClientProvider
- createReader(byte[]) - Static method in class com.azure.json.JsonProviders
-
Creates an instance of
JsonReader
that reads abyte[]
. - createReader(byte[], JsonOptions) - Method in interface com.azure.json.JsonProvider
-
Creates an instance of
JsonReader
that reads abyte[]
. - createReader(byte[], JsonOptions) - Static method in class com.azure.json.JsonProviders
-
Creates an instance of
JsonReader
that reads abyte[]
. - createReader(InputStream) - Static method in class com.azure.json.JsonProviders
-
Creates an instance of
JsonReader
that reads aInputStream
. - createReader(InputStream, JsonOptions) - Method in interface com.azure.json.JsonProvider
-
Creates an instance of
JsonReader
that reads aInputStream
. - createReader(InputStream, JsonOptions) - Static method in class com.azure.json.JsonProviders
-
Creates an instance of
JsonReader
that reads aInputStream
. - createReader(Reader) - Static method in class com.azure.json.JsonProviders
-
Creates an instance of
JsonReader
that reads aReader
. - createReader(Reader, JsonOptions) - Method in interface com.azure.json.JsonProvider
-
Creates an instance of
JsonReader
that reads aReader
. - createReader(Reader, JsonOptions) - Static method in class com.azure.json.JsonProviders
-
Creates an instance of
JsonReader
that reads aReader
. - createReader(String) - Static method in class com.azure.json.JsonProviders
-
Creates an instance of
JsonReader
that reads aString
. - createReader(String, JsonOptions) - Method in interface com.azure.json.JsonProvider
-
Creates an instance of
JsonReader
that reads aString
. - createReader(String, JsonOptions) - Static method in class com.azure.json.JsonProviders
-
Creates an instance of
JsonReader
that reads aString
. - createWriter(OutputStream) - Static method in class com.azure.json.JsonProviders
-
Creates an instance of
JsonWriter
that writes to anOutputStream
. - createWriter(OutputStream, JsonOptions) - Method in interface com.azure.json.JsonProvider
-
Creates an instance of
JsonWriter
that writes to anOutputStream
. - createWriter(OutputStream, JsonOptions) - Static method in class com.azure.json.JsonProviders
-
Creates an instance of
JsonWriter
that writes to anOutputStream
. - createWriter(Writer) - Static method in class com.azure.json.JsonProviders
-
Creates an instance of
JsonWriter
that writes to anWriter
. - createWriter(Writer, JsonOptions) - Method in interface com.azure.json.JsonProvider
-
Creates an instance of
JsonWriter
that writes to anWriter
. - createWriter(Writer, JsonOptions) - Static method in class com.azure.json.JsonProviders
-
Creates an instance of
JsonWriter
that writes to anWriter
. - currentToken() - Method in class com.azure.json.JsonReader
-
Gets the
JsonToken
that the reader currently points.
D
- disableBufferCopy(boolean) - Method in class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Disables deep copy of response
ByteBuffer
into a heap location that is managed by this client as opposed to the underlying netty library which may use direct buffer pool.
E
- END_ARRAY - Enum constant in enum com.azure.json.JsonToken
-
End of a JSON array, ']'.
- END_DOCUMENT - Enum constant in enum com.azure.json.JsonToken
-
JSON document has completed.
- END_OBJECT - Enum constant in enum com.azure.json.JsonToken
-
End of a JSON object, '}'.
- eventLoopGroup(EventLoopGroup) - Method in class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Sets the IO event loop group that will be used to run IO loops.
F
- FIELD - Enum constant in enum com.azure.json.JsonWriteState
-
In a JSON field.
- FIELD_NAME - Enum constant in enum com.azure.json.JsonToken
-
Name of a JSON property.
- flush() - Method in class com.azure.json.JsonWriter
-
Flushes any un-flushed content written to this writer.
- fromJson(JsonReader) - Static method in interface com.azure.json.JsonSerializable
-
Reads a JSON stream into an object.
G
- getBinary() - Method in class com.azure.json.JsonReader
-
Gets the binary value if the reader is currently pointing to a
JsonToken.STRING
token. - getBoolean() - Method in class com.azure.json.JsonReader
-
Gets the boolean value if the reader is currently pointing to a
JsonToken.BOOLEAN
token. - getDouble() - Method in class com.azure.json.JsonReader
-
Gets the double value if the reader is currently pointing to a
JsonToken.NUMBER
orJsonToken.STRING
. - getFieldName() - Method in class com.azure.json.JsonReader
-
Gets the field name if the reader is currently pointing to a
JsonToken.FIELD_NAME
. - getFloat() - Method in class com.azure.json.JsonReader
-
Gets the float value if the reader is currently pointing to a
JsonToken.NUMBER
orJsonToken.STRING
. - getInt() - Method in class com.azure.json.JsonReader
-
Gets the int value if the reader is currently pointing to a
JsonToken.NUMBER
orJsonToken.STRING
. - getLong() - Method in class com.azure.json.JsonReader
-
Gets the long value if the reader is currently pointing to a
JsonToken.NUMBER
orJsonToken.STRING
. - getNullable(ReadValueCallback<JsonReader, T>) - Method in class com.azure.json.JsonReader
-
Convenience method to read a nullable type.
- getParent() - Method in class com.azure.json.JsonWriteContext
-
Gets the parent
JsonWriteContext
. - getString() - Method in class com.azure.json.JsonReader
-
Gets the String value if the reader is currently pointing to a
JsonToken.BOOLEAN
,JsonToken.NULL
,JsonToken.NUMBER
, orJsonToken.STRING
. - getText() - Method in class com.azure.json.JsonReader
-
Gets the text value for the
JsonReader.currentToken()
. - getWriteContext() - Method in class com.azure.json.JsonWriter
-
Gets the current
writing context
for the JSON object. - getWriteState() - Method in class com.azure.json.JsonWriteContext
-
Gets the
JsonWriteState
associated to the writing context.
I
- isEndArrayOrObject() - Method in class com.azure.json.JsonReader
- isNonNumericNumbersSupported() - Method in class com.azure.json.JsonOptions
-
Whether non-numeric numbers such as
NaN
andINF
and-INF
are supported. - isResetSupported() - Method in class com.azure.json.JsonReader
-
Indicates whether the
JsonReader
supportsresetting
. - isStartArrayOrObject() - Method in class com.azure.json.JsonReader
J
- JsonOptions - Class in com.azure.json
-
Contains configuration options for creating a
JsonReader
orJsonWriter
. - JsonOptions() - Constructor for class com.azure.json.JsonOptions
-
Creates an instance of
JsonOptions
. - JsonProvider - Interface in com.azure.json
-
An interface to be implemented by any azure-json plugin that wishes to provide an alternate
JsonReader
orJsonWriter
implementation. - JsonProviders - Class in com.azure.json
-
Utility class for
JsonProvider
that will use the implementation ofJsonProvider
found on the classpath to create instances ofJsonReader
orJsonWriter
. - JsonReader - Class in com.azure.json
-
Reads a JSON value as a stream of tokens.
- JsonReader() - Constructor for class com.azure.json.JsonReader
-
Creates an instance of
JsonReader
. - JsonSerializable<T extends JsonSerializable<T>> - Interface in com.azure.json
-
Indicates that the implementing class can be serialized to and deserialized from JSON.
- JsonToken - Enum in com.azure.json
-
Token types used when reading JSON content.
- JsonWriteContext - Class in com.azure.json
-
Context of JSON handling.
- JsonWriter - Class in com.azure.json
-
Writes a JSON value as a stream of tokens.
- JsonWriter() - Constructor for class com.azure.json.JsonWriter
-
Creates an instance of
JsonWriter
. - JsonWriteState - Enum in com.azure.json
-
Writing context of the JSON stream.
N
- NettyAsyncHttpClientBuilder - Class in com.azure.core.http.netty
-
Builder class responsible for creating instances of
HttpClient
backed by Reactor Netty. - NettyAsyncHttpClientBuilder() - Constructor for class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Creates a new builder instance, where a builder is capable of generating multiple instances of
HttpClient
backed by Reactor Netty. - NettyAsyncHttpClientBuilder(HttpClient) - Constructor for class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Creates a new builder instance, where a builder is capable of generating multiple instances of
HttpClient
based on the provided Reactor Netty HttpClient. - NettyAsyncHttpClientProvider - Class in com.azure.core.http.netty
-
An
HttpClientProvider
that provides an implementation of HttpClient based on Netty. - NettyAsyncHttpClientProvider() - Constructor for class com.azure.core.http.netty.NettyAsyncHttpClientProvider
-
For testing purpose only, assigning 'AZURE_ENABLE_HTTP_CLIENT_SHARING' to 'enableHttpClientSharing' for 'final' modifier.
- nextToken() - Method in class com.azure.json.JsonReader
-
Iterates to and returns the next
JsonToken
in the JSON encoded value. - nioEventLoopGroup(NioEventLoopGroup) - Method in class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Deprecated.
- NULL - Enum constant in enum com.azure.json.JsonToken
-
Null, literal null.
- NUMBER - Enum constant in enum com.azure.json.JsonToken
-
Number.
O
- OBJECT - Enum constant in enum com.azure.json.JsonWriteState
-
In a JSON object.
P
- port(int) - Method in class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Sets the port which this client should connect, which by default will be set to port 80.
- proxy(ProxyOptions) - Method in class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Sets the
proxy options
that the client will use.
R
- read(T) - Method in interface com.azure.json.ReadValueCallback
-
Applies the read callback to the
input
. - readArray(ReadValueCallback<JsonReader, T>) - Method in class com.azure.json.JsonReader
-
Reads a JSON array.
- readChildren() - Method in class com.azure.json.JsonReader
-
Recursively reads the JSON token sub-stream if the current token is either
JsonToken.START_ARRAY
orJsonToken.START_OBJECT
. - readChildren(StringBuilder) - Method in class com.azure.json.JsonReader
-
Recursively reads the JSON token sub-stream if the current token is either
JsonToken.START_ARRAY
orJsonToken.START_OBJECT
into the passedStringBuilder
. - readMap(ReadValueCallback<JsonReader, T>) - Method in class com.azure.json.JsonReader
-
Reads a JSON map.
- readObject(ReadValueCallback<JsonReader, T>) - Method in class com.azure.json.JsonReader
-
Reads a JSON object.
- readRemainingFieldsAsJsonObject() - Method in class com.azure.json.JsonReader
-
Reads the remaining fields in the current JSON object as a JSON object.
- readRemainingFieldsAsJsonObject(StringBuilder) - Method in class com.azure.json.JsonReader
-
Reads the remaining fields in the current JSON object as a JSON object.
- readTimeout(Duration) - Method in class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Sets the read timeout duration used when reading the server response.
- readUntyped() - Method in class com.azure.json.JsonReader
-
Reads an untyped object.
- ReadValueCallback<T,
R> - Interface in com.azure.json -
A callback used when reading a JSON value, such as
JsonReader.readArray(ReadValueCallback)
. - reset() - Method in class com.azure.json.JsonReader
-
Creates a new
JsonReader
reset to the beginning of the JSON stream. - responseTimeout(Duration) - Method in class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Sets the response timeout duration used when waiting for a server to reply.
- ROOT - Enum constant in enum com.azure.json.JsonWriteState
-
Root of the JSON stream.
- ROOT - Static variable in class com.azure.json.JsonWriteContext
-
Initial writing context.
S
- setNonNumericNumbersSupported(boolean) - Method in class com.azure.json.JsonOptions
-
Sets whether non-numeric numbers such as
NaN
andINF
and-INF
are supported. - skipChildren() - Method in class com.azure.json.JsonReader
-
Recursively skips the JSON token sub-stream if the current token is either
JsonToken.START_ARRAY
orJsonToken.START_OBJECT
. - START_ARRAY - Enum constant in enum com.azure.json.JsonToken
-
Start of a JSON array, '['.
- START_OBJECT - Enum constant in enum com.azure.json.JsonToken
-
Start of a JSON object, '{'.
- STRING - Enum constant in enum com.azure.json.JsonToken
-
String, in value context.
T
- toJson(JsonWriter) - Method in interface com.azure.json.JsonSerializable
-
Writes the object to the passed
JsonWriter
.
U
- updateContext(JsonToken) - Method in class com.azure.json.JsonWriteContext
-
Updates the context based on the
JsonToken
that was written.
V
- validateToken(JsonToken) - Method in class com.azure.json.JsonWriteContext
-
Determines whether the
JsonToken
is allowed to be written based on theJsonWriteState
. - valueOf(String) - Static method in enum com.azure.json.JsonToken
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.azure.json.JsonWriteState
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.azure.json.JsonToken
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.azure.json.JsonWriteState
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- wiretap(boolean) - Method in class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Enables the Netty wiretap feature.
- write(T, U) - Method in interface com.azure.json.WriteValueCallback
-
Applies the write callback to
input1
andinput2
. - writeArray(Iterable<T>, WriteValueCallback<JsonWriter, T>) - Method in class com.azure.json.JsonWriter
-
Writes a JSON array.
- writeArray(T[], WriteValueCallback<JsonWriter, T>) - Method in class com.azure.json.JsonWriter
-
Writes a JSON array.
- writeArrayField(String, Iterable<T>, WriteValueCallback<JsonWriter, T>) - Method in class com.azure.json.JsonWriter
-
Writes a JSON array field.
- writeArrayField(String, T[], WriteValueCallback<JsonWriter, T>) - Method in class com.azure.json.JsonWriter
-
Writes a JSON array field.
- writeBinary(byte[]) - Method in class com.azure.json.JsonWriter
-
Writes a JSON binary value.
- writeBinaryField(String, byte[]) - Method in class com.azure.json.JsonWriter
-
Writes a JSON binary field.
- writeBoolean(boolean) - Method in class com.azure.json.JsonWriter
-
Writes a JSON boolean value (
true
orfalse
). - writeBoolean(Boolean) - Method in class com.azure.json.JsonWriter
-
Writes a nullable JSON boolean value (
true
,false
, ornull
). - writeBooleanField(String, boolean) - Method in class com.azure.json.JsonWriter
-
Writes a JSON boolean field.
- writeBooleanField(String, Boolean) - Method in class com.azure.json.JsonWriter
-
Writes a nullable JSON boolean field.
- writeDouble(double) - Method in class com.azure.json.JsonWriter
-
Writes a JSON double value.
- writeDoubleField(String, double) - Method in class com.azure.json.JsonWriter
-
Writes a JSON double field.
- writeEndArray() - Method in class com.azure.json.JsonWriter
-
Writes a JSON end array (
]
). - writeEndObject() - Method in class com.azure.json.JsonWriter
-
Writes a JSON end object (
}
). - writeFieldName(String) - Method in class com.azure.json.JsonWriter
-
Writes a JSON field name (
"fieldName":
). - writeFloat(float) - Method in class com.azure.json.JsonWriter
-
Writes a JSON float value.
- writeFloatField(String, float) - Method in class com.azure.json.JsonWriter
-
Writes a JSON float field.
- writeInt(int) - Method in class com.azure.json.JsonWriter
-
Writes a JSON int value.
- writeIntField(String, int) - Method in class com.azure.json.JsonWriter
-
Writes a JSON int field.
- writeJson(JsonSerializable<?>) - Method in class com.azure.json.JsonWriter
-
Writes a
JsonSerializable
object. - writeJsonField(String, JsonSerializable<?>) - Method in class com.azure.json.JsonWriter
-
Writes a
JsonSerializable
field. - writeLong(long) - Method in class com.azure.json.JsonWriter
-
Writes a JSON long value.
- writeLongField(String, long) - Method in class com.azure.json.JsonWriter
-
Writes a JSON long field.
- writeMap(Map<String, T>, WriteValueCallback<JsonWriter, T>) - Method in class com.azure.json.JsonWriter
-
Writes a JSON map.
- writeMapField(String, Map<String, T>, WriteValueCallback<JsonWriter, T>) - Method in class com.azure.json.JsonWriter
-
Writes a JSON map field.
- writeNull() - Method in class com.azure.json.JsonWriter
-
Writes a JSON null.
- writeNullableField(String, T, WriteValueCallback<JsonWriter, T>) - Method in class com.azure.json.JsonWriter
-
Writes a nullable JSON field.
- writeNullField(String) - Method in class com.azure.json.JsonWriter
-
Writes a JSON null field (
"fieldName":null
). - writeNumber(Number) - Method in class com.azure.json.JsonWriter
-
Writes a nullable JSON number value.
- writeNumberField(String, Number) - Method in class com.azure.json.JsonWriter
-
Writes a nullable JSON number field.
- writeRawField(String, String) - Method in class com.azure.json.JsonWriter
-
Writes the passed field literally without any additional handling.
- writeRawValue(String) - Method in class com.azure.json.JsonWriter
-
Writes the passed value literally without any additional handling.
- writeStartArray() - Method in class com.azure.json.JsonWriter
-
Writes a JSON start array (
[
). - writeStartArray(String) - Method in class com.azure.json.JsonWriter
-
Writes a JSON start array (
[
) with a preceding field name. - writeStartObject() - Method in class com.azure.json.JsonWriter
-
Writes a JSON start object (
{
). - writeStartObject(String) - Method in class com.azure.json.JsonWriter
-
Writes a JSON start object (
{
) with a preceding field name. - writeString(String) - Method in class com.azure.json.JsonWriter
-
Writes a JSON String value.
- writeStringField(String, String) - Method in class com.azure.json.JsonWriter
-
Writes a JSON String field.
- writeTimeout(Duration) - Method in class com.azure.core.http.netty.NettyAsyncHttpClientBuilder
-
Sets the writing timeout for a request to be sent.
- writeUntyped(Object) - Method in class com.azure.json.JsonWriter
-
Writes the unknown type
value
. - writeUntypedField(String, Object) - Method in class com.azure.json.JsonWriter
-
Writes the unknown type
value
field. - WriteValueCallback<T,
U> - Interface in com.azure.json -
A callback used when writing a JSON value, such as
JsonWriter.writeArray(Object[], WriteValueCallback)
.
All Classes and Interfaces|All Packages
NettyAsyncHttpClientBuilder.eventLoopGroup(EventLoopGroup)
.