Interface ResponseMarshaler


public interface ResponseMarshaler
Prepares responses for each request scenario Soklet supports (happy path, exception, CORS preflight, etc.)

The MarshaledResponse value returned from these methods is what is ultimately sent back to clients as bytes over the wire.

Standard implementations can be acquired via these factory methods:

Full documentation is available at https://www.soklet.com/docs/response-writing.

Author:
Mark Allen