Class HeaderContribution
java.lang.Object
ch.tocco.nice2.web.core.api.servlet.HeaderContribution
- All Implemented Interfaces:
ModuleDependentContribution
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
getValue()
boolean
boolean
void
setApplyIfMethod
(String applyIfMethod) void
setApplyIfQueryParameterPresent
(String applyIfQueryParameterPresent) void
setApplyIfRequestCookiePresent
(String applyIfRequestCookiePresent) void
setApplyIfRequestHeaderPresent
(String applyIfRequestHeaderPresent) void
setApplyIfRunEnv
(String applyIfRunEnv) void
setHeaderValueSupplier
(HeaderValueSupplier headerValueSupplier) void
void
setMultipleValuesAllowed
(boolean multipleValuesAllowed) void
void
setOmitIfRequestCookiePresent
(String omitIfRequestCookiePresent) void
setOmitIfRequestHeaderPresent
(String omitIfRequestHeaderPresent) void
setOmitIfResponseHeaderPresent
(boolean omitIfResponseHeaderPresent) void
setUrlPattern
(String urlPattern) void
toString()
-
Constructor Details
-
HeaderContribution
public HeaderContribution()
-
-
Method Details
-
getModule
- Specified by:
getModule
in interfaceModuleDependentContribution
-
setModule
- Specified by:
setModule
in interfaceModuleDependentContribution
-
getName
-
setName
-
getValue
-
setValue
-
getHeaderValueSupplier
-
setHeaderValueSupplier
-
isMultipleValuesAllowed
public boolean isMultipleValuesAllowed() -
setMultipleValuesAllowed
public void setMultipleValuesAllowed(boolean multipleValuesAllowed) -
getUrlPattern
-
setUrlPattern
-
getApplyIfMethod
-
setApplyIfMethod
-
getApplyIfQueryParameterPresent
-
setApplyIfQueryParameterPresent
-
isOmitIfResponseHeaderPresent
public boolean isOmitIfResponseHeaderPresent() -
setOmitIfResponseHeaderPresent
public void setOmitIfResponseHeaderPresent(boolean omitIfResponseHeaderPresent) -
getApplyIfRequestCookiePresent
-
setApplyIfRequestCookiePresent
-
getOmitIfRequestCookiePresent
-
setOmitIfRequestCookiePresent
-
getApplyIfRequestHeaderPresent
-
setApplyIfRequestHeaderPresent
-
getOmitIfRequestHeaderPresent
-
setOmitIfRequestHeaderPresent
-
getApplyIfRunEnv
-
setApplyIfRunEnv
-
toString
-