Class UriMapping

java.lang.Object
org.springframework.hateoas.server.core.UriMapping

public class UriMapping extends Object
A URI mapping on a controller method.
Author:
Oliver Drotbohm
  • Method Details

    • of

      public static @Nullable UriMapping of(@Nullable String source)
      Creates a new UriMapping from a given source mapping string.
      Parameters:
      source - can be null.
      Returns:
    • getMapping

      public String getMapping()
      Returns the raw mapping.
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(@Nullable Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object