Created
November 12, 2011 20:01
-
-
Save eugenp/1361032 to your computer and use it in GitHub Desktop.
REST Service Discoverability with Spring, part 5 - REST URI Utilities
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class RESTURIUtil{ | |
public static String createLinkHeader( final String uri, final String rel ){ | |
return "<" + uri + ">; rel=\"" + rel + "\""; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This gist is used in:
http://www.baeldung.com/2011/11/13/rest-service-discoverability-with-spring-part-5/