Interface HttpServerResponse

    • Method Detail

      • getResponse

        <RES> RES getResponse()
        Retrieves the response from the response property.
        Type Parameters:
        RES - the generic type
        Returns:
        The response stored by the response property.
      • setResponse

        <RES> void setResponse​(RES aResponse)
        Sets the response for the response property. The HttpServerResponseImpl.setResponse(Object) supports the HttpBodyMap to marshal an HttpBodyMap into an HTTP Request-Body.
        Type Parameters:
        RES - the generic type
        Parameters:
        aResponse - The response to be stored by the response property.
      • withResponse

        default <RES> HttpServerResponse withResponse​(RES aResponse)
        Sets the response for the response property.
        Type Parameters:
        RES - the generic type
        Parameters:
        aResponse - The response to be stored by the response property.
        Returns:
        The builder for applying multiple build operations.