Class RemainingPath
- java.lang.Object
-
- org.restlet.ext.jaxrs.internal.util.RemainingPath
-
- All Implemented Interfaces:
java.lang.Comparable<RemainingPath>
@Deprecated public class RemainingPath extends java.lang.Object implements java.lang.Comparable<RemainingPath>
Deprecated.Will be removed in next minor release.This class contains the remaining path for a request. It does not contain any matrix parameterand has no '/' t the start.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringremainingPartDeprecated.contains the given remaining path without matrix parameters.
-
Constructor Summary
Constructors Constructor Description RemainingPath(java.lang.String remainingPart)Deprecated.Creates a new RemianingPath wrapper.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intcompareTo(RemainingPath other)Deprecated.booleanequals(java.lang.Object other)Deprecated.java.lang.StringgetWithoutParams()Deprecated.Returns the path without matrix and query parameters.inthashCode()Deprecated.booleanisEmptyOrSlash()Deprecated.Checks, if the remaining path is empty or slash.private static java.lang.StringremoveMatrixParams(java.lang.String remainingPart)Deprecated.removes the matrix parameters from the given uri path.
Also adds a '/' at the end, if there is no slash at the end.java.lang.StringtoString()Deprecated.
-
-
-
Method Detail
-
removeMatrixParams
private static java.lang.String removeMatrixParams(java.lang.String remainingPart)
Deprecated.removes the matrix parameters from the given uri path.
Also adds a '/' at the end, if there is no slash at the end.- Parameters:
remainingPart-- Returns:
- the given uri path without the matrix parameters.
-
compareTo
public int compareTo(RemainingPath other)
Deprecated.- Specified by:
compareToin interfacejava.lang.Comparable<RemainingPath>
-
equals
public boolean equals(java.lang.Object other)
Deprecated.- Overrides:
equalsin classjava.lang.Object
-
getWithoutParams
public java.lang.String getWithoutParams()
Deprecated.Returns the path without matrix and query parameters.- Returns:
- the path without matrix and query parameters.
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
isEmptyOrSlash
public boolean isEmptyOrSlash()
Deprecated.Checks, if the remaining path is empty or slash.- Returns:
- true, of this remaining path is empty or '/', otherwise false.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-