Top "Request-mapping" questions

Issues regarding usage of Spring MVC @RequestMapping methods

Using Spring's @RequestMapping with wildcards

This is similar to this question, but I am still confused about my situation. I want to map this ant-style …

spring servlets request-mapping
Proper way of streaming using ResponseEntity and making sure the InputStream gets closed

One of our application leaks file handles and we have not yet found the cause for this. In the code …

spring spring-boot spring-web request-mapping
Custom Spring annotation for request parameters

I would like to write custom annotations, that would modify Spring request or path parameters according to annotations. For example …

java spring spring-mvc spring-annotations request-mapping
Sub-Resources in spring REST

I'm trying to build messanger app. I've to call CommentResource from MessageResource. I want separate MessageResources and CommentResources. I'm doing …

java rest spring-mvc spring-boot request-mapping
GET/POST Requst to REST API using Spring Boot

I have a REST Service an external server like https://api.myrestservice.com and I have a Spring Boot Application …

java rest spring-boot request-mapping
Forward JSON POST request from one REST API to another

I have the following situation: My REST API one: @RestController @RequestMapping("/controller1") Public Class Controller1{ @RequestMapping(method = RequestMethod.POST) public …

json spring rest spring-boot request-mapping
Spring Mapping Url to Controller and View

I have the standard Spring 4.x files in Netbeans 8.0.2. I added a controller, RegisterController.java in the controllers-package. I also …

java spring request-mapping
Spring MVC - Request method 'POST' not supported

I am learning Spring MVC (with Thymeleaf) while porting over a JBoss Seam website to Spring MVC. I am trying …

spring-mvc request-mapping
Matching anything in Spring RequestMapping

On Spring MVC rest service I am having issues trying to match anything that is beyond my configured RequestMapping value. …

java spring rest spring-mvc request-mapping