Interface IMutableOptionalHeaderHolder
- All Superinterfaces:
IOptionalHeaderHolder
A
IMutableOptionalHeaderHolder is a IOptionalHeaderHolder
whose header can be set and removed programmatically.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves the header of the currentIMutableOptionalHeaderHolder.voidSets the header of the currentIMutableOptionalHeaderHolder.Methods inherited from interface IOptionalHeaderHolder
getHeader, getHeaderOrEmptyString, getOptionalHeader, hasHeader, hasHeader
-
Method Details
-
removeHeader
void removeHeader()Removes the header of the currentIMutableOptionalHeaderHolder. -
setHeader
Sets the header of the currentIMutableOptionalHeaderHolder.- Parameters:
header-- Throws:
RuntimeException- if the given header is null.RuntimeException- if the given header is blank.
-