Class 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.String remainingPart
      Deprecated.
      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
      int compareTo​(RemainingPath other)
      Deprecated.
       
      boolean equals​(java.lang.Object other)
      Deprecated.
       
      java.lang.String getWithoutParams()
      Deprecated.
      Returns the path without matrix and query parameters.
      int hashCode()
      Deprecated.
       
      boolean isEmptyOrSlash()
      Deprecated.
      Checks, if the remaining path is empty or slash.
      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.
      java.lang.String toString()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • remainingPart

        private final java.lang.String remainingPart
        Deprecated.
        contains the given remaining path without matrix parameters.
    • Constructor Detail

      • RemainingPath

        public RemainingPath​(java.lang.String remainingPart)
        Deprecated.
        Creates a new RemianingPath wrapper.
        Parameters:
        remainingPart -
    • 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:
        compareTo in interface java.lang.Comparable<RemainingPath>
      • equals

        public boolean equals​(java.lang.Object other)
        Deprecated.
        Overrides:
        equals in class java.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:
        hashCode in class java.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:
        toString in class java.lang.Object