Uses of Interface
edu.iu.client.IuJsonAdapter
Packages that use IuJsonAdapter
Package
Description
Functional programming adapters for the
Jakarta JSON
Processing and Java
HTTP Client modules.
-
Uses of IuJsonAdapter in edu.iu.auth.config
Fields in edu.iu.auth.config declared as IuJsonAdapter -
Uses of IuJsonAdapter in edu.iu.client
Methods in edu.iu.client that return IuJsonAdapterModifier and TypeMethodDescriptionstatic <T> IuJsonAdapter
<T> IuJsonAdapter.basic()
Provides a basic JSON type adapter.static <T> IuJsonAdapter
<T> IuJsonAdapter.from
(Class<T> type, IuJsonPropertyNameFormat propertyNameFormat, Function<Type, IuJsonAdapter<?>> valueAdapter) Creates a JSON type adapter that converts from a JavaBeans business object type to and from JSON.static <T> IuJsonAdapter
<T> Creates a functional JSON type adapter.static <T> IuJsonAdapter
<T> Creates a functional JSON type adapter.static <T> IuJsonAdapter
<T> IuJsonAdapter.of
(Class<? super T> type, IuJsonAdapter<?> valueAdapter) Provides a JSON type adapter that delegates to another adapter for parameterized values.static <T> IuJsonAdapter
<T> Provides a standard JSON type adapter for a Java value.static <T> IuJsonAdapter
<T> Provides a JSON type adapter for the erasure of a generic type.static <T> IuJsonAdapter
<T> IuJsonAdapter.of
(Type type, Function<Class<?>, IuJsonAdapter<?>> valueAdapter) Provides a JSON type adapter that delegates to another adapter for parameterized values.static <T> IuJsonAdapter
<T> Creates a functional JSON type adapter for text conversion.static <T> IuJsonAdapter
<T> Creates a functional JSON type adapter.static <T> IuJsonAdapter
<T> Creates a functional JSON type adapter.Methods in edu.iu.client with parameters of type IuJsonAdapterModifier and TypeMethodDescriptionstatic <T> void
IuJson.add
(JsonArrayBuilder builder, Supplier<T> valueSupplier, IuJsonAdapter<T> adapter) Adds a value to an array builder.static <T> void
IuJson.add
(JsonArrayBuilder builder, Supplier<T> valueSupplier, BooleanSupplier condition, IuJsonAdapter<T> adapter) Adds a value to an array builder.static <T> void
IuJson.add
(JsonObjectBuilder builder, String name, Supplier<T> valueSupplier, IuJsonAdapter<T> adapter) Adds a value to an object builder.static <T> void
IuJson.add
(JsonObjectBuilder builder, String name, Supplier<T> valueSupplier, BooleanSupplier condition, IuJsonAdapter<T> adapter) Adds a value to an object builder.static <T> T
IuJson.get
(JsonObject object, String name, IuJsonAdapter<T> adapter) Gets a property value from a JSON object.static <T> void
IuJson.get
(JsonObject object, String name, IuJsonAdapter<T> adapter, Consumer<T> consumer) Gets a property value from a JSON object, accepting if non-null..static <T> T
IuJson.get
(JsonObject object, String name, T defaultValue, IuJsonAdapter<T> adapter) Gets a property value from a JSON object.static <T> T
IuJson.nonNull
(JsonObject object, String name, IuJsonAdapter<T> adapter) Gets a non-null property value from a JSON object.static <T> IuJsonAdapter
<T> IuJsonAdapter.of
(Class<? super T> type, IuJsonAdapter<?> valueAdapter) Provides a JSON type adapter that delegates to another adapter for parameterized values.protected <T> B
IuJsonBuilder.param
(String name, T value, IuJsonAdapter<T> adapter) Sets a parameter value.Method parameters in edu.iu.client with type arguments of type IuJsonAdapterModifier and TypeMethodDescriptionstatic <T> IuJsonAdapter
<T> IuJsonAdapter.from
(Class<T> type, IuJsonPropertyNameFormat propertyNameFormat, Function<Type, IuJsonAdapter<?>> valueAdapter) Creates a JSON type adapter that converts from a JavaBeans business object type to and from JSON.static <T> IuJsonAdapter
<T> IuJsonAdapter.of
(Type type, Function<Class<?>, IuJsonAdapter<?>> valueAdapter) Provides a JSON type adapter that delegates to another adapter for parameterized values.static IuVault
IuVault.of
(Properties properties, Function<Type, IuJsonAdapter<?>> valueAdapter) Gets anIuVault
instance for a specific application scenario.static <T> T
IuJson.wrap
(JsonObject value, Class<T> targetInterface, Function<Type, IuJsonAdapter<?>> valueAdapter) Wraps a JSON object in a java interface. -
Uses of IuJsonAdapter in iu.auth.config
Methods in iu.auth.config that return IuJsonAdapterModifier and TypeMethodDescriptionstatic <T> IuJsonAdapter
<T> Provides additional JSON adapters for configuring the authorization module.static IuJsonAdapter
<?> Provides JSON adapters for components that usedAuthConfig.registerInterface(String, Class, Consumer, IuVault...)
to register configuration interfaces for authentication and authorization.Methods in iu.auth.config with parameters of type IuJsonAdapterModifier and TypeMethodDescriptionstatic <T> void
AuthConfig.registerAdapter
(Class<T> type, IuJsonAdapter<T> adapter) Registers a JSON type adapter for a non-interface configuration class, for example a custom enum. -
Uses of IuJsonAdapter in iu.auth.session
Methods in iu.auth.session that return IuJsonAdapterConstructor parameters in iu.auth.session with type arguments of type IuJsonAdapterModifierConstructorDescription(package private)
SessionDetail
(Map<String, JsonValue> attributes, Session session, Function<Type, IuJsonAdapter<?>> adapterFactory) Constructor -
Uses of IuJsonAdapter in iu.crypt
Subinterfaces of IuJsonAdapter in iu.cryptModifier and TypeInterfaceDescriptionstatic interface
Extension provider interface.Fields in iu.crypt declared as IuJsonAdapterModifier and TypeFieldDescriptionstatic final IuJsonAdapter
<WebKey.Algorithm> CryptJsonAdapters.ALG
JSON type adapter forWebKey.Algorithm
.static final IuJsonAdapter
<byte[]> CryptJsonAdapters.B64URL
JSON type adapter for byte[] using Base64URL encoding with no padding.static final IuJsonAdapter
<BigInteger> CryptJsonAdapters.BIGINT
JSON type adapter forBigInteger
, as unsigned big-endian binary data encoded asCryptJsonAdapters.B64URL
.static final IuJsonAdapter
<X509Certificate> CryptJsonAdapters.CERT
JSON type adapter forX509Certificate
.static final IuJsonAdapter
<X509CRL> CryptJsonAdapters.CRL
JSON type adapter forX509CRL
.static final IuJsonAdapter
<WebEncryption.Encryption> CryptJsonAdapters.ENC
JSON type adapterstatic final IuJsonAdapter
<WebCryptoHeader> CryptJsonAdapters.JOSE
JSON type adapter forWebCryptoHeader
.static final IuJsonAdapter
<WebEncryption> Jwe.JSON
static final IuJsonAdapter
<WebSignedPayload> JwsBuilder.JSON
protected static final IuJsonAdapter
<Instant> Jwt.NUMERIC_DATE
TranslatesInstant
values as seconds since epochstatic final IuJsonAdapter
<WebKey.Operation> CryptJsonAdapters.OP
JSON type adapter forWebKey.Operation
.static final IuJsonAdapter
<WebKey.Use> CryptJsonAdapters.USE
JSON type adapter forWebKey.Use
.static final IuJsonAdapter
<WebKey> CryptJsonAdapters.WEBKEY
JSON type adapter forWebKey
.Methods in iu.crypt that return IuJsonAdapterModifier and TypeMethodDescriptionstatic final <T> IuJsonAdapter
<T> CryptJsonAdapters.of
(WebCryptoHeader.Param param) Gets a JSON type adapter byWebCryptoHeader.Param
.Methods in iu.crypt with parameters of type IuJsonAdapterModifier and TypeMethodDescriptionprotected <T> B
JoseBuilder.param
(String name, T value, IuJsonAdapter<T> adapter)