Interface RequestHeadersBuilder

  • All Known Implementing Classes:
    RequestHeadersBuilder.Default

    public interface RequestHeadersBuilder
    The request headers builder.
    Author:
    Christian Bremer
    • Method Detail

      • setHeaders

        void setHeaders​(InvocationParameters parameters,
                        org.springframework.http.HttpHeaders headers)
        Sets headers.
        Parameters:
        parameters - the parameters
        headers - the headers
      • build

        default void build​(InvocationParameters parameters,
                           org.springframework.http.HttpHeaders headers)
        Build.
        Parameters:
        parameters - the parameters
        headers - the headers
      • setAcceptHeader

        default void setAcceptHeader​(InvocationParameters parameters,
                                     org.springframework.http.HttpHeaders headers)
        Sets accept header.
        Parameters:
        parameters - the parameters
        headers - the headers
      • setContentTypeHeader

        default void setContentTypeHeader​(InvocationParameters parameters,
                                          org.springframework.http.HttpHeaders headers)
        Sets content type header.
        Parameters:
        parameters - the parameters
        headers - the headers
      • defaultBuilder

        static RequestHeadersBuilder defaultBuilder()
        Default request headers builder.
        Returns:
        the request headers builder