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
Constructors Constructor Description GzipResourceEncodingProviderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceEncodingProvider
create(KeycloakSession session)
boolean
encodeContentType(String contentType)
List<ProviderConfigProperty>
getConfigMetadata()
Returns the metadata for each configuration property supported by this factory.String
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
order
-
Methods inherited from interface org.keycloak.encoding.ResourceEncodingProviderFactory
close, postInit
-
-
-
-
Method Detail
-
create
public ResourceEncodingProvider create(KeycloakSession session)
- Specified by:
create
in interfaceProviderFactory<ResourceEncodingProvider>
-
init
public void init(Config.Scope config)
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
public boolean encodeContentType(String contentType)
- Specified by:
encodeContentType
in interfaceResourceEncodingProviderFactory
-
getId
public String getId()
- Specified by:
getId
in interfaceProviderFactory<ResourceEncodingProvider>
-
getConfigMetadata
public List<ProviderConfigProperty> 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
-
-