Errai 3.0.1-SNAPSHOT

org.jboss.errai.enterprise.client.jaxrs.api
Class PathSegmentImpl

java.lang.Object
  extended by org.jboss.errai.enterprise.client.jaxrs.api.PathSegmentImpl
All Implemented Interfaces:
javax.ws.rs.core.PathSegment

public class PathSegmentImpl
extends Object
implements javax.ws.rs.core.PathSegment

GWT-translatable implementation of PathSegment.

Author:
Christian Sadilek

Constructor Summary
PathSegmentImpl(String segment)
           
 
Method Summary
 String getEncodedPathWithParameters()
           
 javax.ws.rs.core.MultivaluedMap<String,String> getMatrixParameters()
          Get a map of the matrix parameters associated with the path segment.
 String getPath()
          Get the path segment.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PathSegmentImpl

public PathSegmentImpl(String segment)
Method Detail

getPath

public String getPath()
Description copied from interface: javax.ws.rs.core.PathSegment
Get the path segment.

Specified by:
getPath in interface javax.ws.rs.core.PathSegment
Returns:
the path segment

getMatrixParameters

public javax.ws.rs.core.MultivaluedMap<String,String> getMatrixParameters()
Description copied from interface: javax.ws.rs.core.PathSegment
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.

Specified by:
getMatrixParameters in interface javax.ws.rs.core.PathSegment
Returns:
the map of matrix parameters
See Also:
Matrix URIs

getEncodedPathWithParameters

public String getEncodedPathWithParameters()

toString

public String toString()
Overrides:
toString in class Object

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.