Class UnconsumedStreamingBodyTest

java.lang.Object
io.micronaut.http.server.tck.tests.UnconsumedStreamingBodyTest

public class UnconsumedStreamingBodyTest extends Object
A streaming body argument claims the request body when it is bound. If the route fails before it returns, e.g. because another argument fails to bind, a @Valid constraint is violated or the route throws, the server must not leave the connection stalled on the unread body. These tests use a raw socket so that the rest of the body and a second request can be sent on the same connection after the rejection.
  • Field Details

  • Constructor Details

    • UnconsumedStreamingBodyTest

      public UnconsumedStreamingBodyTest()