Package org.keycloak.encoding
Class GzipResourceEncodingProviderFactory
java.lang.Object
org.keycloak.encoding.GzipResourceEncodingProviderFactory
- All Implemented Interfaces:
ResourceEncodingProviderFactory
,ProviderFactory<ResourceEncodingProvider>
public class GzipResourceEncodingProviderFactory
extends Object
implements ResourceEncodingProviderFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(KeycloakSession session) boolean
encodeContentType
(String contentType) Returns the metadata for each configuration property supported by this factory.getId()
void
init
(Config.Scope config) Only called once when the factory is first created.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, order
Methods inherited from interface org.keycloak.encoding.ResourceEncodingProviderFactory
close, postInit
-
Constructor Details
-
GzipResourceEncodingProviderFactory
public GzipResourceEncodingProviderFactory()
-
-
Method Details
-
create
- Specified by:
create
in interfaceProviderFactory<ResourceEncodingProvider>
-
init
Description copied from interface:ProviderFactory
Only called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
init
in interfaceProviderFactory<ResourceEncodingProvider>
- Specified by:
init
in interfaceResourceEncodingProviderFactory
-
encodeContentType
- Specified by:
encodeContentType
in interfaceResourceEncodingProviderFactory
-
getId
- Specified by:
getId
in interfaceProviderFactory<ResourceEncodingProvider>
-
getConfigMetadata
Description copied from interface:ProviderFactory
Returns the metadata for each configuration property supported by this factory.- Specified by:
getConfigMetadata
in interfaceProviderFactory<ResourceEncodingProvider>
- Returns:
- a list with the metadata for each configuration property supported by this factory
-