Interface MessageHeaders<R extends RequestBody,​P extends ResponseBody,​M extends MessageParameters>

    • Method Detail

      • getResponseClass

        Class<P> getResponseClass()
        Returns the class of the response message.
        Returns:
        class of the response message
      • getResponseStatusCode

        org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getResponseStatusCode()
        Returns the http status code for the response.
        Returns:
        http status code of the response
      • getResponseTypeParameters

        default Collection<Class<?>> getResponseTypeParameters()
        Returns the collection of type parameters for the response type.
        Returns:
        Collection of type parameters for the response type
      • getDescription

        String getDescription()
        Returns the description for this header.
        Returns:
        description for the header
      • operationId

        default String operationId()
        Returns a short description for this header suitable for method code generation.
        Returns:
        short description
      • getCustomHeaders

        default Collection<HttpHeader> getCustomHeaders()
        Returns a collection of custom HTTP headers.

        This default implementation returns an empty list. Override this method to provide custom headers if needed.

        Returns:
        a collection of custom HttpHeaders, empty by default.