Top Description Methods
org.glassfish.tyrus.core.uri.internal

public Interface PathSegment

Known Direct Implementers
org.glassfish.tyrus.core.uri.internal.UriComponent.PathSegmentImpl

Represents a URI path segment and any associated matrix parameters. When an instance of this type is injected with jakarta.ws.rs.PathParam, the value of the annotation identifies which path segment is selected and the presence of an jakarta.ws.rs.Encoded annotation will result in an instance that supplies the path and matrix parameter values in URI encoded form.
Authors
Paul Sandoz, Marc Hadley

Method Summary

Modifier and TypeMethod and Description
public MultivaluedMap<String, String>

Returns:

the map of matrix parameters
getMatrixParameters
()

Get a map of the matrix parameters associated with the path segment.

public String

Returns:

the path segment
getPath
()

Get the path segment.

Method Detail

getMatrixParametersback to summary
public MultivaluedMap<String, String> getMatrixParameters()

Get a map of the matrix parameters associated with the path segment. The map keys are the names of the matrix parameters with any percent-escaped octets decoded.

Returns:MultivaluedMap<String, String>

the map of matrix parameters

See Also
Matrix URIs
getPathback to summary
public String getPath()

Get the path segment.

Returns:String

the path segment