Class HeaderElement
java.lang.Object
org.eclipse.rdf4j.common.webapp.util.HeaderElement
An element in an HTTP header value. An HTTP header element has a value and zero or more parameters consisting of a
key and a value. An example header element is audio/*; q=0.2.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(String key) void
addParameter
(String key, String value) void
addParameter
(Parameter param) boolean
getParameter
(int i) getParameter
(String key) int
getParameterValue
(String key) getValue()
int
hashCode()
static HeaderElement
removeParameter
(int idx) boolean
removeParameter
(Parameter param) void
toString()
-
Constructor Details
-
HeaderElement
public HeaderElement() -
HeaderElement
-
-
Method Details
-
parse
-
getValue
-
setValue
-
getParameterCount
public int getParameterCount() -
getParameter
-
getParameter
-
getParameterValue
-
getParameters
-
addParameter
-
addParameter
-
addParameter
-
removeParameter
-
removeParameter
-
equals
-
hashCode
-
toString
-