Class HeaderExtractor
java.lang.Object
org.apache.tiles.request.servlet.extractor.HeaderExtractor
- All Implemented Interfaces:
- Addable<String>,- EnumeratedValuesExtractor,- HasAddableKeys<String>,- HasKeys<String>
Extract header values from an HTTP request.
- 
Constructor SummaryConstructorsConstructorDescriptionHeaderExtractor(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptiongetKeys()The enumeration of the keys of the stored attributes.Returns the value of the attribute with the given key.Returns the values stored at the given key.voidSets a value for the given key.
- 
Constructor Details- 
HeaderExtractorpublic HeaderExtractor(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Constructor.- Parameters:
- request- The request.
- response- The response.
 
 
- 
- 
Method Details- 
getKeysDescription copied from interface:HasKeysThe enumeration of the keys of the stored attributes.
- 
getValueDescription copied from interface:HasKeysReturns the value of the attribute with the given key.
- 
getValuesDescription copied from interface:EnumeratedValuesExtractorReturns the values stored at the given key.- Specified by:
- getValuesin interface- EnumeratedValuesExtractor
- Parameters:
- key- The key of the attribute.
- Returns:
- The values of the attribute.
 
- 
setValueDescription copied from interface:AddableSets a value for the given key.
 
-