changed code indent by space instead of tab
This commit is contained in:
+3
-3
@@ -8,8 +8,8 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
@ComponentScan({ "com.baeldung.sampleapp.web" })
|
||||
public class MaxHTTPHeaderSizeConfig implements WebMvcConfigurer {
|
||||
|
||||
public MaxHTTPHeaderSizeConfig() {
|
||||
super();
|
||||
}
|
||||
public MaxHTTPHeaderSizeConfig() {
|
||||
super();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+4
-4
@@ -9,9 +9,9 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
@RequestMapping(value = "/request-header-test")
|
||||
public class MaxHttpHeaderSizeController {
|
||||
|
||||
@GetMapping
|
||||
public boolean testMaxHTTPHeaderSize(@RequestHeader(value = "token") String token) {
|
||||
return true;
|
||||
}
|
||||
@GetMapping
|
||||
public boolean testMaxHTTPHeaderSize(@RequestHeader(value = "token") String token) {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user