Skip to main content

spring_boot_starter_web 0.4.2 copy "spring_boot_starter_web: ^0.4.2" to clipboard
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-memory HttpSessionRepository with expiry and a limit (server.servlet.session.timeout, .max-sessions, .cookie.*; SameSite=Lax by default), changeSessionId(); the session cookie is written by HttpSessionFilter.
  • @RequestParam reads the fields of application/x-www-form-urlencoded bodies too, like Spring MVC (readFormParameters).
  • A request target starting with // is no longer read as a host by dart: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. @RestController classes with @GetMapping, @PostMapping, ... on dart:io's HttpServer (server.* properties), path variables, request parameters, headers and cookies, JSON bodies through the ObjectMapper, @Valid bodies, ResponseEntity, errors as ProblemDetail with @ExceptionHandler and @RestControllerAdvice, server-sent events (EventStream, SseEmitter), filters, interceptors, CORS, WebSocket endpoints of spring_boot_starter_websocket on the same server; MockMvc and springBootTest(webEnvironment:) in spring_boot_starter_test.
0
likes
0
points
239
downloads

Publisher

verified publisherfarum-azula.org

Weekly Downloads

Spring MVC for Dart: @RestController with @GetMapping and @PostMapping on dart:io, JSON bodies, @Valid, ProblemDetail errors, server-sent events, filters, CORS.

Repository (GitHub)
View/report issues

Topics

#http #rest #server #spring

License

unknown (license)

Dependencies

spring_boot_dart, spring_boot_starter_logging, spring_web_dart

More

Packages that depend on spring_boot_starter_web