类 HierarchicalUriComponents.UriTemplateEncoder
java.lang.Object
cn.taketoday.web.util.HierarchicalUriComponents.UriTemplateEncoder
- 所有已实现的接口:
BiFunction<String,HierarchicalUriComponents.Type, String>
private static class HierarchicalUriComponents.UriTemplateEncoder
extends Object
implements BiFunction<String,HierarchicalUriComponents.Type,String>
-
字段概要
字段修饰符和类型字段说明private final Charsetprivate final StringBuilderprivate final StringBuilderprivate final StringBuilderprivate boolean -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private voidappend(StringBuilder sb, boolean encode, HierarchicalUriComponents.Type type) apply(String source, HierarchicalUriComponents.Type type) private voidclear(StringBuilder sb) private booleanisUriVariable(CharSequence source) Whether the given String is a single URI variable that can be expanded.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 java.util.function.BiFunction
andThen
-
字段详细资料
-
charset
-
variableWithNameAndRegex
private boolean variableWithNameAndRegex -
output
-
currentLiteral
-
currentVariable
-
-
构造器详细资料
-
UriTemplateEncoder
-
-
方法详细资料
-
apply
- 指定者:
apply在接口中BiFunction<String,HierarchicalUriComponents.Type, String>
-
isUriVariable
Whether the given String is a single URI variable that can be expanded. It must have '{' and '}' surrounding non-empty text and no nested placeholders unless it is a variable with regex syntax, e.g."/{year:\d{1,4}}". -
append
-
clear
-