Class StringUtils
java.lang.Object
com.alibaba.dashscope.applications.agentstudio.utils.StringUtils
String formatting helpers for the AgentStudio HTTP stack.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringLocale-independent String.format using Locale.ROOT to guarantee ASCII output for numeric format specifiers (%d, %f, etc.), preventing non-ASCII characters in HTTP headers, URLs, and other protocol-sensitive strings.
-
Constructor Details
-
StringUtils
public StringUtils()
-
-
Method Details
-
format
Locale-independent String.format using Locale.ROOT to guarantee ASCII output for numeric format specifiers (%d, %f, etc.), preventing non-ASCII characters in HTTP headers, URLs, and other protocol-sensitive strings.
-