Class CodedUrlHeader
java.lang.Object
org.apache.jackrabbit.webdav.header.CodedUrlHeader
- All Implemented Interfaces:
Header
CodedUrlHeader...-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the token present in the header value ornull.String[]Return an array of coded urls as present in the header value ornullif no value is present.Return the name of the headerReturn the value of the headerstatic CodedUrlHeaderparse(HttpServletRequest request, String headerName) Retrieves the header with the given name and builds a newCodedUrlHeader.
-
Constructor Details
-
CodedUrlHeader
-
-
Method Details
-
getHeaderName
Return the name of the header- Specified by:
getHeaderNamein interfaceHeader- Returns:
- header name
- See Also:
-
getHeaderValue
Return the value of the header- Specified by:
getHeaderValuein interfaceHeader- Returns:
- value
- See Also:
-
getCodedUrl
Returns the token present in the header value ornull. If the header contained multiple tokens separated by ',' the first value is returned.- Returns:
- token present in the CodedURL header or
nullif the header is not present. - See Also:
-
getCodedUrls
Return an array of coded urls as present in the header value ornullif no value is present.- Returns:
- array of coded urls
-
parse
Retrieves the header with the given name and builds a newCodedUrlHeader.- Parameters:
request-headerName-- Returns:
- new
CodedUrlHeaderinstance
-