Interface SpartaServerClient.BodyWriter

Enclosing class:
SpartaServerClient
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SpartaServerClient.BodyWriter
Writes the JSON request body to the supplied writer. Implementations should only write (and may flush); the client owns flushing and closing the underlying stream.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writeTo(Writer writer)