Try a regular expression for the @RequestMapping
argument:
RequestMapping(method = RequestMethod.GET, value = Routes.BLAH_GET + "/{blahName:.+}")
More Related Contents:
- Using GZIP compression with Spring Boot/MVC/JavaConfig with RESTful
- Spring MVC – How to return simple String as JSON in Rest Controller
- How to manage REST API versioning with spring?
- How does the Spring @ResponseBody annotation work?
- How to set base url for rest in spring boot?
- Http Post request with content type application/x-www-form-urlencoded not working in Spring
- RESTful Authentication via Spring
- Spring MVC – @Valid on list of beans in REST service
- Expose all IDs when using Spring Data Rest
- Unable to get a generic ResponseEntity where T is a generic class “SomeClass”
- Spring REST security – Secure different URLs differently
- Trying to create REST-ful URLs with multiple dots in the “filename” part – Spring 3.0 MVC
- Spring MVC PATCH method: partial updates
- CORS allowed-origin restrictions aren’t causing the server to reject requests
- Spring RestTemplate GET with parameters
- Howto get rid of ?
- Spring WebSocket @SendToSession: send message to specific session
- In Spring MVC, how can I set the mime type header when using @ResponseBody
- request scoped beans in spring testing
- Can I use @Requestparam annotation for a Post request?
- JPA Transient Annotation and JSON
- How to convert a multipart file to File?
- How to handle requests that includes forward slashes (/)?
- Abstract Method Error
- Manually call Spring Annotation Validation
- how to get param in method post spring mvc?
- Return a stream with Spring MVC’s ResponseEntity
- What are annotations and how do they actually work for frameworks like Spring?
- java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet error
- Spring MVC: How to modify json response sent from controller