Class AllowListHeaderFilter
- java.lang.Object
-
- de.quantummaid.httpmaid.websockets.registry.filter.header.AllowListHeaderFilter
-
- All Implemented Interfaces:
HeaderFilter
public final class AllowListHeaderFilter extends Object implements HeaderFilter
-
-
Constructor Summary
Constructors Constructor Description AllowListHeaderFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HeaderFilterallowListHeaderFilter(List<HeaderName> names)List<Header>filter(List<Header> headers)static HeaderFilteronlyAllowingDefaultHeaders()
-
-
-
Method Detail
-
onlyAllowingDefaultHeaders
public static HeaderFilter onlyAllowingDefaultHeaders()
-
allowListHeaderFilter
public static HeaderFilter allowListHeaderFilter(List<HeaderName> names)
-
-