Package de.quantummaid.httpmaid.cors
Class CorsModule
- java.lang.Object
-
- de.quantummaid.httpmaid.cors.CorsModule
-
- All Implemented Interfaces:
ChainModule,Configurator
public final class CorsModule extends Object implements ChainModule
-
-
Constructor Summary
Constructors Constructor Description CorsModule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChainModulecorsModule()voidregister(ChainExtender extender)voidsetResourceSharingPolicy(ResourceSharingPolicy resourceSharingPolicy)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.quantummaid.httpmaid.chains.ChainModule
configure, identifier
-
Methods inherited from interface de.quantummaid.httpmaid.chains.Configurator
init, supplyModulesIfNotAlreadyPreset
-
-
-
-
Method Detail
-
corsModule
public static ChainModule corsModule()
-
setResourceSharingPolicy
public void setResourceSharingPolicy(ResourceSharingPolicy resourceSharingPolicy)
-
register
public void register(ChainExtender extender)
- Specified by:
registerin interfaceChainModule
-
-