public class StringBuilderUtils extends Object
string builder utilities for building HTTP header
values.| Modifier and Type | Method and Description |
|---|---|
static void |
appendEscapingQuotes(StringBuilder b,
String value)
Append a new value to the string builder.
|
static void |
appendQuoted(StringBuilder b,
String value)
Append a new quoted value to the string builder.
|
static void |
appendQuotedIfNonToken(StringBuilder b,
String value)
Append a new value to the string builder.
|
static void |
appendQuotedIfWhitespace(StringBuilder b,
String value)
Append a new value to the string builder.
|
public static void appendQuotedIfNonToken(StringBuilder b, String value)
b - string builder to be updated.value - value to be appended.public static void appendQuotedIfWhitespace(StringBuilder b, String value)
b - string builder to be updated.value - value to be appended.public static void appendQuoted(StringBuilder b, String value)
b - string builder to be updated.value - value to be appended.public static void appendEscapingQuotes(StringBuilder b, String value)
b - string builder to be updated.value - value to be appended.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.