spring_boot_starter_web 0.4.2
spring_boot_starter_web: ^0.4.2 copied to clipboard
Spring MVC for Dart: @RestController with @GetMapping and @PostMapping on dart:io, JSON bodies, @Valid, ProblemDetail errors, server-sent events, filters, CORS.
0.4.2 #
- Docs (#9)
0.4.1 #
- feat: guides replace the examples; optional parameters from Dart nullability; coloured logs
- feat: guides replace the examples; optional parameters from Dart nullability; coloured logs
0.4.0 #
HttpSession:request.getSession(), an in-memoryHttpSessionRepositorywith expiry and a limit (server.servlet.session.timeout,.max-sessions,.cookie.*;SameSite=Laxby default),changeSessionId(); the session cookie is written byHttpSessionFilter.@RequestParamreads the fields ofapplication/x-www-form-urlencodedbodies too, like Spring MVC (readFormParameters).- A request target starting with
//is no longer read as a host bydart:io: the path keeps its//(and is answered 404, or refused by the security starter's firewall).
0.3.2 #
- Initial version: Spring MVC for Dart.
@RestControllerclasses with@GetMapping,@PostMapping, ... ondart:io'sHttpServer(server.*properties), path variables, request parameters, headers and cookies, JSON bodies through theObjectMapper,@Validbodies,ResponseEntity, errors asProblemDetailwith@ExceptionHandlerand@RestControllerAdvice, server-sent events (EventStream,SseEmitter), filters, interceptors, CORS, WebSocket endpoints ofspring_boot_starter_websocketon the same server;MockMvcandspringBootTest(webEnvironment:)inspring_boot_starter_test.