Interface ResponseHeaders

  • All Superinterfaces:
    Headers, Parameters

    public interface ResponseHeaders
    extends Headers
    Extends Parameters interface by adding HTTP response headers oriented constants and convenient methods. Use constants located in Http.Header as standard header names.

    Lifecycle

    Headers can be muted until send to the client. It is also possible to register a 'before send' function which can made 'last minute mutation'.

    Headers are send together with HTTP status code also automatically just before first chunk of response data is send.

    See Also:
    Http.Header