We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current, we have to do stuff like this to mesh a custom controller with a Spring Data REST one.
private static Link applyBasePath(Link link, String basePath) { URI uri = link.toUri(); URI newUri = null; try { newUri = new URI(uri.getScheme(), uri.getUserInfo(), uri.getHost(), // uri.getPort(), basePath + uri.getPath(), uri.getQuery(), uri.getFragment()); } catch (URISyntaxException e) { e.printStackTrace(); } return new Link(newUri.toString(), link.getRel()); }
Take advantage of DATAREST-1423 to simplify the integration.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current, we have to do stuff like this to mesh a custom controller with a Spring Data REST one.
Take advantage of DATAREST-1423 to simplify the integration.
The text was updated successfully, but these errors were encountered: