java.lang.Object
io.helidon.common.uri.UriFragment
Fragment section of the URI.
-
Method Summary
Modifier and TypeMethodDescriptionstatic UriFragment
Create a fragment from raw value.static UriFragment
createFromDecoded
(String fragment) Create a fragment from decoded value.static UriFragment
empty()
Empty fragment.boolean
int
hashCode()
boolean
hasValue()
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:
true
if fragment exists
-
rawValue
Raw (encoded) value of the fragment.- Returns:
- encoded fragment
-
value
Value (decoded) of the fragment.- Returns:
- decoded fragment
-