Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

REST Service Discoverability with Spring, part 5 - REST URI Utilities

View RESTURIUtil.java
1 2 3 4 5 6
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
Something went wrong with that request. Please try again.