Class HeaderExtractor
java.lang.Object
org.apache.tiles.request.jakarta.servlet.extractor.HeaderExtractor
- All Implemented Interfaces:
 Addable<String>,EnumeratedValuesExtractor,HasAddableKeys<String>,HasKeys<String>
Extract header values from an HTTP request.
 
Copied from Apache tiles-request-servlet 1.0.7 and adapted for Jakarta EE 9.
- 
Constructor Summary
ConstructorsConstructorDescriptionHeaderExtractor(HttpServletRequest request, HttpServletResponse response) Constructor. - 
Method Summary
Modifier and TypeMethodDescriptiongetKeys()The enumeration of the keys in 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
- 
HeaderExtractor
Constructor.- Parameters:
 request- The request.response- The response.
 
 - 
 - 
Method Details
- 
getKeys
The enumeration of the keys in the stored attributes. - 
getValue
Returns the value of the attribute with the given key. - 
getValues
Returns the values stored at the given key.- Specified by:
 getValuesin interfaceEnumeratedValuesExtractor- Parameters:
 key- The key of the attribute.- Returns:
 - The values of the attribute.
 
 - 
setValue
Sets a value for the given key. 
 -