Interface HttpStatusCodeAccessor.HttpStatusCodeBuilder<B extends HttpStatusCodeAccessor.HttpStatusCodeBuilder<B>>

  • Type Parameters:
    B - The builder to return in order to be able to apply multiple build operations.
    All Known Subinterfaces:
    HttpServerResponse
    All Known Implementing Classes:
    HttpServerResponseImpl
    Enclosing interface:
    HttpStatusCodeAccessor

    public static interface HttpStatusCodeAccessor.HttpStatusCodeBuilder<B extends HttpStatusCodeAccessor.HttpStatusCodeBuilder<B>>
    Provides a builder method for a HTTP Status-Code property returning the builder for applying multiple build operations.
    • Method Detail

      • withHttpStatusCode

        B withHttpStatusCode​(HttpStatusCode aStatusCode)
        Sets the HTTP Status-Code for the HTTP Status-Code property.
        Parameters:
        aStatusCode - The HTTP Status-Code to be stored by the HTTP HTTP Status-Code property.
        Returns:
        The builder for applying multiple build operations.