Spring MVC Flashcards

(4 cards)

1
Q

Жизненный цикл HTTP-запроса
DispatcherServlet, HandlerMapping, HandlerAdapter, ViewResolver

A

https://chat.deepseek.com/share/js26v0k48lxe0sx1uo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Аннотации контроллера
@RestController vs @Controller
@RequestMapping, @GetMapping, @RequestParam, @PathVariable, @RequestBody, @ResponseBody

A

https://chat.deepseek.com/share/ragfp96gzjg93pzwqp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Валидация
Использование аннотаций Bean Validation (@NotNull, @Size) в связке с @Valid.

A

https://chat.deepseek.com/share/cerr1vr3v8hvgjixbv

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Обработка исключений
Глобальный обработчик @RestControllerAdvice / @ControllerAdvice с @ExceptionHandler. Важность централизованной обработки ошибок.

A

https://chat.deepseek.com/share/fn62f7oz8mptzujudu

How well did you know this?
1
Not at all
2
3
4
5
Perfectly