A B C D E F G H I K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ANSI_FAINT - Static variable in class org.greenbytes.http.sfv.CLI
- ANSI_GREEN - Static variable in class org.greenbytes.http.sfv.CLI
- ANSI_RED - Static variable in class org.greenbytes.http.sfv.CLI
- ANSI_RESET - Static variable in class org.greenbytes.http.sfv.CLI
B
- BooleanItem - Class in org.greenbytes.http.sfv
-
Represents a Boolean.
- ByteSequenceItem - Class in org.greenbytes.http.sfv
-
Represents a Byte Sequence.
C
- checkKey(String) - Static method in class org.greenbytes.http.sfv.Utils
-
Checks a key for validity
- checkKeys(Map<String, ListElement<?>>) - Static method in class org.greenbytes.http.sfv.Utils
-
Checks all keys in map for validity
- clear() - Method in class org.greenbytes.http.sfv.Parameters
- CLI - Class in org.greenbytes.http.sfv
- CLI() - Constructor for class org.greenbytes.http.sfv.CLI
- compute(String, BiFunction<? super String, ? super Item<?>, ? extends Item<?>>) - Method in class org.greenbytes.http.sfv.Parameters
- computeIfAbsent(String, Function<? super String, ? extends Item<?>>) - Method in class org.greenbytes.http.sfv.Parameters
- computeIfPresent(String, BiFunction<? super String, ? super Item<?>, ? extends Item<?>>) - Method in class org.greenbytes.http.sfv.Parameters
- containsKey(Object) - Method in class org.greenbytes.http.sfv.Parameters
- containsValue(Object) - Method in class org.greenbytes.http.sfv.Parameters
D
- DateItem - Class in org.greenbytes.http.sfv
-
Represents a Date.
- DecimalItem - Class in org.greenbytes.http.sfv
-
Represents a Decimal.
- Dictionary - Class in org.greenbytes.http.sfv
-
Represents a Dictionary.
- DisplayStringItem - Class in org.greenbytes.http.sfv
-
Represents a Display String.
E
- EMPTY - Static variable in class org.greenbytes.http.sfv.Parameters
-
Empty parameters instance.
- entrySet() - Method in class org.greenbytes.http.sfv.Parameters
- equals(Object) - Method in class org.greenbytes.http.sfv.Parameters
F
- forEach(BiConsumer<? super String, ? super Item<?>>) - Method in class org.greenbytes.http.sfv.Parameters
G
- get() - Method in class org.greenbytes.http.sfv.BooleanItem
- get() - Method in class org.greenbytes.http.sfv.ByteSequenceItem
- get() - Method in class org.greenbytes.http.sfv.DateItem
- get() - Method in class org.greenbytes.http.sfv.DecimalItem
- get() - Method in class org.greenbytes.http.sfv.Dictionary
- get() - Method in class org.greenbytes.http.sfv.DisplayStringItem
- get() - Method in class org.greenbytes.http.sfv.InnerList
- get() - Method in class org.greenbytes.http.sfv.IntegerItem
- get() - Method in class org.greenbytes.http.sfv.OuterList
- get() - Method in class org.greenbytes.http.sfv.StringItem
- get() - Method in class org.greenbytes.http.sfv.TokenItem
- get(Object) - Method in class org.greenbytes.http.sfv.Parameters
- getAsLong() - Method in class org.greenbytes.http.sfv.DateItem
- getAsLong() - Method in class org.greenbytes.http.sfv.DecimalItem
- getAsLong() - Method in class org.greenbytes.http.sfv.IntegerItem
- getData() - Method in exception org.greenbytes.http.sfv.ParseException
-
Return the raw data on which the parser operated..
- getDiagnostics() - Method in exception org.greenbytes.http.sfv.ParseException
-
Gets additional diagnostics.
- getDivisor() - Method in class org.greenbytes.http.sfv.DateItem
- getDivisor() - Method in class org.greenbytes.http.sfv.DecimalItem
- getDivisor() - Method in class org.greenbytes.http.sfv.IntegerItem
- getDivisor() - Method in interface org.greenbytes.http.sfv.NumberItem
-
Returns the divisor to be used to obtain the actual numerical value (as opposed to the underlying long value returned by
LongSupplier.getAsLong()). - getOrDefault(Object, Item<?>) - Method in class org.greenbytes.http.sfv.Parameters
- getParams() - Method in class org.greenbytes.http.sfv.BooleanItem
- getParams() - Method in class org.greenbytes.http.sfv.ByteSequenceItem
- getParams() - Method in class org.greenbytes.http.sfv.DateItem
- getParams() - Method in class org.greenbytes.http.sfv.DecimalItem
- getParams() - Method in class org.greenbytes.http.sfv.DisplayStringItem
- getParams() - Method in class org.greenbytes.http.sfv.InnerList
- getParams() - Method in class org.greenbytes.http.sfv.IntegerItem
- getParams() - Method in interface org.greenbytes.http.sfv.Parameterizable
-
Get the
Parametersof thisItem. - getParams() - Method in class org.greenbytes.http.sfv.StringItem
- getParams() - Method in class org.greenbytes.http.sfv.TokenItem
- getPosition() - Method in exception org.greenbytes.http.sfv.ParseException
-
Return the approximate position where the parse error occurred.
H
- hashCode() - Method in class org.greenbytes.http.sfv.Parameters
I
- InnerList - Class in org.greenbytes.http.sfv
-
Represents an Inner List.
- IntegerItem - Class in org.greenbytes.http.sfv
-
Represents an Integer.
- isAlpha(char) - Static method in class org.greenbytes.http.sfv.Utils
-
check for character to be alphanumeric
- isDigit(char) - Static method in class org.greenbytes.http.sfv.Utils
-
check for character to be a decimal digit
- isEmpty() - Method in class org.greenbytes.http.sfv.Parameters
- isLcAlpha(char) - Static method in class org.greenbytes.http.sfv.Utils
-
check for character to be lowercase alphanumeric
- Item<T> - Interface in org.greenbytes.http.sfv
-
Marker interface for Items.
K
- keySet() - Method in class org.greenbytes.http.sfv.Parameters
L
- ListElement<T> - Interface in org.greenbytes.http.sfv
-
Marker interface for things that can be elements of Outer Lists.
M
- main(String[]) - Static method in class org.greenbytes.http.sfv.CLI
- merge(String, Item<?>, BiFunction<? super Item<?>, ? super Item<?>, ? extends Item<?>>) - Method in class org.greenbytes.http.sfv.Parameters
N
- NumberItem<T> - Interface in org.greenbytes.http.sfv
-
Common interface for all
Types that can carry numbers.
O
- org.greenbytes.http.sfv - package org.greenbytes.http.sfv
-
Implementation of IETF RFC 9651: Structured Field Values for HTTP.
- OuterList - Class in org.greenbytes.http.sfv
-
Represents a List.
P
- Parameterizable<T> - Interface in org.greenbytes.http.sfv
-
Common interface for all
Types that can carryParameters. - Parameters - Class in org.greenbytes.http.sfv
-
Represents the Parameters of an Item or an Inner List.
- parseBareItem(String) - Static method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing a Bare Item" (assuming no extra characters left in input string)
- parseBoolean(String) - Static method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing a Boolean" (assuming no extra characters left in input string)
- parseByteSequence(String) - Static method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing a Byte Sequence" (assuming no extra characters left in input string)
- parseDictionary() - Method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing a Dictionary"
- parseDictionary(String) - Static method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing a Dictionary" (assuming no extra characters left in input string)
- parseDisplayString(String) - Static method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing a Display String" (assuming no extra characters left in input string)
- ParseException - Exception in org.greenbytes.http.sfv
-
IllegalArgumentException, augmented with details. - ParseException(String, String, int) - Constructor for exception org.greenbytes.http.sfv.ParseException
-
Create instance of
ParseException. - ParseException(String, String, int, Throwable) - Constructor for exception org.greenbytes.http.sfv.ParseException
-
Create instance of
ParseException. - ParseException(String, CharBuffer) - Constructor for exception org.greenbytes.http.sfv.ParseException
-
Create instance of
ParseException. - ParseException(String, CharBuffer, int, Throwable) - Constructor for exception org.greenbytes.http.sfv.ParseException
-
Create instance of
ParseException. - ParseException(String, CharBuffer, Throwable) - Constructor for exception org.greenbytes.http.sfv.ParseException
-
Create instance of
ParseException. - parseInnerList(String) - Static method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing an Inner List" (assuming no extra characters left in input string)
- parseIntegerOrDecimal(String) - Static method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing an Integer or Decimal" (assuming no extra characters left in input string)
- parseItem() - Method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing an Item"
- parseItem(String) - Static method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing an Item" (assuming no extra characters left in input string)
- parseItemOrInnerList(String) - Static method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing an Item Or Inner List" (assuming no extra characters left in input string)
- parseKey(String) - Static method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing a Key" (assuming no extra characters left in input string)
- parseList() - Method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing a List"
- parseList(String) - Static method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing a List" (assuming no extra characters left in input string)
- parseParameters(String) - Static method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing Parameters" (assuming no extra characters left in input string)
- Parser - Class in org.greenbytes.http.sfv
-
Implementation of the "Structured Field Values" Parser.
- Parser(Iterable<String>) - Constructor for class org.greenbytes.http.sfv.Parser
-
Creates
Parserfor the given input. - Parser(String) - Constructor for class org.greenbytes.http.sfv.Parser
-
Creates
Parserfor the given input. - Parser(String...) - Constructor for class org.greenbytes.http.sfv.Parser
-
Creates
Parserfor the given input. - parseString(String) - Static method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing a String" (assuming no extra characters left in input string)
- parseToken(String) - Static method in class org.greenbytes.http.sfv.Parser
-
Implementation of "Parsing a Token" (assuming no extra characters left in input string)
- put(String, Item<?>) - Method in class org.greenbytes.http.sfv.Parameters
- putAll(Map<? extends String, ? extends Item<?>>) - Method in class org.greenbytes.http.sfv.Parameters
- putIfAbsent(String, Item<?>) - Method in class org.greenbytes.http.sfv.Parameters
R
- remove(Object) - Method in class org.greenbytes.http.sfv.Parameters
- remove(Object, Object) - Method in class org.greenbytes.http.sfv.Parameters
- replace(String, Item<?>) - Method in class org.greenbytes.http.sfv.Parameters
- replace(String, Item<?>, Item<?>) - Method in class org.greenbytes.http.sfv.Parameters
- replaceAll(BiFunction<? super String, ? super Item<?>, ? extends Item<?>>) - Method in class org.greenbytes.http.sfv.Parameters
S
- serialize() - Method in class org.greenbytes.http.sfv.BooleanItem
- serialize() - Method in class org.greenbytes.http.sfv.ByteSequenceItem
- serialize() - Method in class org.greenbytes.http.sfv.DateItem
- serialize() - Method in class org.greenbytes.http.sfv.DecimalItem
- serialize() - Method in class org.greenbytes.http.sfv.Dictionary
- serialize() - Method in class org.greenbytes.http.sfv.DisplayStringItem
- serialize() - Method in class org.greenbytes.http.sfv.InnerList
- serialize() - Method in class org.greenbytes.http.sfv.IntegerItem
- serialize() - Method in class org.greenbytes.http.sfv.OuterList
- serialize() - Method in class org.greenbytes.http.sfv.Parameters
-
Serialize this parameter.
- serialize() - Method in class org.greenbytes.http.sfv.StringItem
- serialize() - Method in class org.greenbytes.http.sfv.TokenItem
- serialize() - Method in interface org.greenbytes.http.sfv.Type
-
Serialize.
- serializeTo(StringBuilder) - Method in class org.greenbytes.http.sfv.BooleanItem
- serializeTo(StringBuilder) - Method in class org.greenbytes.http.sfv.ByteSequenceItem
- serializeTo(StringBuilder) - Method in class org.greenbytes.http.sfv.DateItem
- serializeTo(StringBuilder) - Method in class org.greenbytes.http.sfv.DecimalItem
- serializeTo(StringBuilder) - Method in class org.greenbytes.http.sfv.Dictionary
- serializeTo(StringBuilder) - Method in class org.greenbytes.http.sfv.DisplayStringItem
- serializeTo(StringBuilder) - Method in class org.greenbytes.http.sfv.InnerList
- serializeTo(StringBuilder) - Method in class org.greenbytes.http.sfv.IntegerItem
- serializeTo(StringBuilder) - Method in class org.greenbytes.http.sfv.OuterList
- serializeTo(StringBuilder) - Method in class org.greenbytes.http.sfv.Parameters
-
Serialize this parameter to a StringBuilder
- serializeTo(StringBuilder) - Method in class org.greenbytes.http.sfv.StringItem
- serializeTo(StringBuilder) - Method in class org.greenbytes.http.sfv.TokenItem
- serializeTo(StringBuilder) - Method in interface org.greenbytes.http.sfv.Type
-
Serialize to an existing
StringBuilder. - size() - Method in class org.greenbytes.http.sfv.Parameters
- StringItem - Class in org.greenbytes.http.sfv
-
Represents a String.
T
- TokenItem - Class in org.greenbytes.http.sfv
-
Represents a Token.
- Type<T> - Interface in org.greenbytes.http.sfv
-
Base interface for Structured Data Types.
U
- Utils - Class in org.greenbytes.http.sfv
-
Common utility methods.
V
- valueOf(boolean) - Static method in class org.greenbytes.http.sfv.BooleanItem
-
Creates a
BooleanIteminstance representing the specifiedbooleanvalue. - valueOf(byte[]) - Static method in class org.greenbytes.http.sfv.ByteSequenceItem
-
Creates a
ByteSequenceIteminstance representing the specifiedbyte[]value. - valueOf(long) - Static method in class org.greenbytes.http.sfv.DateItem
-
Creates an
DateIteminstance representing the specifiedlongvalue. - valueOf(long) - Static method in class org.greenbytes.http.sfv.DecimalItem
-
Creates a
DecimalIteminstance representing the specifiedlongvalue, where the implied divisor is1000. - valueOf(long) - Static method in class org.greenbytes.http.sfv.IntegerItem
-
Creates an
IntegerIteminstance representing the specifiedlongvalue. - valueOf(String) - Static method in class org.greenbytes.http.sfv.DisplayStringItem
-
Creates a
DisplayStringIteminstance representing the specifiedStringvalue. - valueOf(String) - Static method in class org.greenbytes.http.sfv.StringItem
-
Creates a
StringIteminstance representing the specifiedStringvalue. - valueOf(String) - Static method in class org.greenbytes.http.sfv.TokenItem
-
Creates a
TokenIteminstance representing the specifiedStringvalue. - valueOf(BigDecimal) - Static method in class org.greenbytes.http.sfv.DecimalItem
-
Creates a
DecimalIteminstance representing the specifiedBigDecimalvalue, with potential rounding. - valueOf(List<Item<?>>) - Static method in class org.greenbytes.http.sfv.InnerList
-
Creates an
InnerListinstance representing the specifiedList<Item>value. - valueOf(List<ListElement<?>>) - Static method in class org.greenbytes.http.sfv.OuterList
-
Creates an
OuterListinstance representing the specifiedList<Item>value. - valueOf(Map<String, Object>) - Static method in class org.greenbytes.http.sfv.Parameters
-
Creates an unmodifiable
Parametersinstance representing the specifiedMap<String, Item>value. - valueOf(Map<String, ListElement<?>>) - Static method in class org.greenbytes.http.sfv.Dictionary
-
Creates a
Dictionaryinstance representing the specifiedMap<String, Item>value. - values() - Method in class org.greenbytes.http.sfv.Parameters
W
- withParams(Parameters) - Method in class org.greenbytes.http.sfv.BooleanItem
- withParams(Parameters) - Method in class org.greenbytes.http.sfv.ByteSequenceItem
- withParams(Parameters) - Method in class org.greenbytes.http.sfv.DateItem
- withParams(Parameters) - Method in class org.greenbytes.http.sfv.DecimalItem
- withParams(Parameters) - Method in class org.greenbytes.http.sfv.DisplayStringItem
- withParams(Parameters) - Method in class org.greenbytes.http.sfv.InnerList
- withParams(Parameters) - Method in class org.greenbytes.http.sfv.IntegerItem
- withParams(Parameters) - Method in interface org.greenbytes.http.sfv.Item
- withParams(Parameters) - Method in interface org.greenbytes.http.sfv.NumberItem
- withParams(Parameters) - Method in interface org.greenbytes.http.sfv.Parameterizable
-
Given an existing
Item, return a new instance with the specifiedParameters. - withParams(Parameters) - Method in class org.greenbytes.http.sfv.StringItem
- withParams(Parameters) - Method in class org.greenbytes.http.sfv.TokenItem
All Classes All Packages