类 DefaultPathContainer.DefaultPathSegment
java.lang.Object
cn.taketoday.http.server.DefaultPathContainer.DefaultPathSegment
- 所有已实现的接口:
PathContainer.Element,PathContainer.PathSegment
- 封闭类:
- DefaultPathContainer
private static final class DefaultPathContainer.DefaultPathSegment
extends Object
implements PathContainer.PathSegment
-
字段概要
字段 -
构造器概要
构造器限定符构造器说明privateDefaultPathSegment(String value, String valueToMatch, cn.taketoday.util.MultiValueMap<String, String> params) -
方法概要
修饰符和类型方法说明boolean(专用程序包) static DefaultPathContainer.DefaultPathSegmentfrom(String value, DefaultPathContainer.DefaultSeparator separator) Factory for segments without decoding and parsing.(专用程序包) static DefaultPathContainer.DefaultPathSegmentFactory for decoded and parsed segments.(专用程序包) static DefaultPathContainer.DefaultPathSegmentFactory for decoded and parsed segments.inthashCode()Path parameters associated with this path segment.toString()value()The unmodified, original value of this element.Return the path segment value, decoded and sanitized, for path matching.char[]ExposePathContainer.PathSegment.valueToMatch()as a character array.
-
字段详细资料
-
EMPTY_PARAMS
-
value
-
valueToMatch
-
parameters
-
-
构造器详细资料
-
DefaultPathSegment
-
-
方法详细资料
-
from
static DefaultPathContainer.DefaultPathSegment from(String value, DefaultPathContainer.DefaultSeparator separator) Factory for segments without decoding and parsing. -
from
Factory for decoded and parsed segments. -
from
static DefaultPathContainer.DefaultPathSegment from(String value, String valueToMatch, cn.taketoday.util.MultiValueMap<String, String> params) Factory for decoded and parsed segments. -
value
从接口复制的说明:PathContainer.ElementThe unmodified, original value of this element.- 指定者:
value在接口中PathContainer.Element
-
valueToMatch
从接口复制的说明:PathContainer.PathSegmentReturn the path segment value, decoded and sanitized, for path matching.- 指定者:
valueToMatch在接口中PathContainer.PathSegment
-
valueToMatchAsChars
public char[] valueToMatchAsChars()从接口复制的说明:PathContainer.PathSegmentExposePathContainer.PathSegment.valueToMatch()as a character array.- 指定者:
valueToMatchAsChars在接口中PathContainer.PathSegment
-
parameters
从接口复制的说明:PathContainer.PathSegmentPath parameters associated with this path segment.- 指定者:
parameters在接口中PathContainer.PathSegment- 返回:
- an unmodifiable map containing the parameters
-
equals
-
hashCode
public int hashCode() -
toString
-