
com.nimbusds.jose.PayloadTransformer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nimbus-jose-jwt Show documentation
Show all versions of nimbus-jose-jwt Show documentation
Java library for Javascript Object Signing and Encryption (JOSE) and
JSON Web Tokens (JWT)
package com.nimbusds.jose;
/**
* Generic payload type transformer. Implementations should be tread-safe.
*/
public interface PayloadTransformer {
/**
* Transforms the specified payload into the desired type.
*
* @param payload The payload. Not {@code null}.
*
* @return The desired type.
*/
T transform(final Payload payload);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy