Uses of Class
io.helidon.common.http.CharMatcher
Package
Description
HTTP APIs and implementations usable by both server and client side of the HTTP story.
-
Uses of CharMatcher in io.helidon.common.http
Modifier and TypeMethodDescriptionCharMatcher.and
(CharMatcher other) Returns a matcher that matches any character matched by both this matcher andother
.static CharMatcher
CharMatcher.any()
Matches any character.static CharMatcher
CharMatcher.anyOf
(CharSequence sequence) Returns achar
matcher that matches any character present in the given character sequence.static CharMatcher
CharMatcher.ascii()
Determines whether a character is ASCII, meaning that its code point is less than 128.static CharMatcher
CharMatcher.is
(char match) Returns achar
matcher that matches only one specified character.static CharMatcher
CharMatcher.isNot
(char match) Returns achar
matcher that matches any character except the one specified.static CharMatcher
CharMatcher.javaIsoControl()
Determines whether a character is an ISO control character as specified byCharacter.isISOControl(char)
.CharMatcher.negate()
Returns a matcher that matches any character not matched by this matcher.static CharMatcher
CharMatcher.none()
Matches no character.static CharMatcher
CharMatcher.noneOf
(CharSequence sequence) Returns achar
matcher that matches any character not present in the given character sequence.CharMatcher.or
(CharMatcher other) Returns a matcher that matches any character matched by either this matcher orother
.Modifier and TypeMethodDescriptionCharMatcher.and
(CharMatcher other) Returns a matcher that matches any character matched by both this matcher andother
.char
Tokenizer.consumeCharacter
(CharMatcher matcher) Get the one character at the current position and matches it with the specified matcher, then update the position to the next character.Tokenizer.consumeToken
(CharMatcher matcher) Get the token represented by the specified matcher and advance the position the to next character.Tokenizer.consumeTokenIfPresent
(CharMatcher matcher) Get the token represented by the specified matcher and advance the position the to next character if matched.static String
Tokenizer.normalize
(CharMatcher matcher, String token) Verify that the given token matches the specified matcher and return a lower case only token string.CharMatcher.or
(CharMatcher other) Returns a matcher that matches any character matched by either this matcher orother
.