Spring Hateoas

org.springframework.hateoas
Class IanaRels

java.lang.Object
  extended by org.springframework.hateoas.IanaRels

public class IanaRels
extends Object

Static class to find out whether a relation type is defined by the IANA.

Author:
Oliver Gierke
See Also:
http://www.iana.org/assignments/link-relations/link-relations.xhtml

Constructor Summary
IanaRels()
           
 
Method Summary
static boolean isIanaRel(String rel)
          Returns whether the given relation type is defined by the IANA.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IanaRels

public IanaRels()
Method Detail

isIanaRel

public static boolean isIanaRel(String rel)
Returns whether the given relation type is defined by the IANA.

Parameters:
rel - the relation type to check
Returns:

Spring Hateoas

Copyright © 2012-2014-2014 Pivotal, Inc.. All Rights Reserved.