java.lang.Object
io.helidon.common.uri.UriFragment
Fragment section of the URI.
-
Method Summary
Modifier and TypeMethodDescriptionstatic UriFragmentCreate a fragment from raw value.static UriFragmentcreateFromDecoded(String fragment) Create a fragment from decoded value.static UriFragmentempty()Empty fragment.booleaninthashCode()booleanhasValue()Whether there is a fragment.rawValue()Raw (encoded) value of the fragment.toString()value()Value (decoded) of the fragment.
-
Method Details
-
create
Create a fragment from raw value.- Parameters:
rawFragment- fragment encoded value- Returns:
- a new instance
-
createFromDecoded
Create a fragment from decoded value.- Parameters:
fragment- fragment decoded value- Returns:
- a new instance
-
empty
Empty fragment.- Returns:
- empty instance
-
equals
-
hashCode
public int hashCode() -
toString
-
hasValue
public boolean hasValue()Whether there is a fragment.- Returns:
trueif fragment exists
-
rawValue
Raw (encoded) value of the fragment.- Returns:
- encoded fragment
-
value
Value (decoded) of the fragment.- Returns:
- decoded fragment
-