Package io.varhttp
Class VarRequestHeader
java.lang.Object
io.varhttp.VarRequestHeader
- All Implemented Interfaces:
- RequestHeader
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the header value(s) given the header name.Get the set of header names for the requestgetHeaders(String name) Get a list of header values corresponding to the given the header namegetPath()
- 
Constructor Details- 
VarRequestHeaderpublic VarRequestHeader(jakarta.servlet.http.HttpServletRequest request) 
 
- 
- 
Method Details- 
getHeaderDescription copied from interface:RequestHeaderGet the header value(s) given the header name. If multiple headers match the name, all values will be returned comma separated- Specified by:
- getHeaderin interface- RequestHeader
- Parameters:
- name- header name
- Returns:
- header value(s)
 
- 
getHeadersDescription copied from interface:RequestHeaderGet a list of header values corresponding to the given the header name- Specified by:
- getHeadersin interface- RequestHeader
- Parameters:
- name- header name
- Returns:
- list of header values
 
- 
getHeaderNamesDescription copied from interface:RequestHeaderGet the set of header names for the request- Specified by:
- getHeaderNamesin interface- RequestHeader
- Returns:
- header names
 
- 
getPath- Specified by:
- getPathin interface- RequestHeader
- Returns:
- The path of the current controller
 
- 
getMethod- Specified by:
- getMethodin interface- RequestHeader
 
 
-