Class RestEndpointBuilderFactory.RestHeaderNameBuilder

  • Enclosing interface:
    RestEndpointBuilderFactory

    public static class RestEndpointBuilderFactory.RestHeaderNameBuilder
    extends Object
    The builder of headers' name for the REST component.
    • Constructor Detail

      • RestHeaderNameBuilder

        public RestHeaderNameBuilder()
    • Method Detail

      • restHttpQuery

        public String restHttpQuery()
        The query parameters for the rest call to be used. The option is a: String type. Group: producer
        Returns:
        the name of the header RestHttpQuery.
      • restHttpUri

        public String restHttpUri()
        The http uri for the rest call to be used. The option is a: String type. Group: producer
        Returns:
        the name of the header RestHttpUri.
      • httpMethod

        public String httpMethod()
        The method should be in upper case. The option is a: String type. Group: producer
        Returns:
        the name of the header HttpMethod.
      • contentType

        public String contentType()
        The media type such as: 'text/xml', or 'application/json' this REST service returns. The option is a: String type. Group: producer
        Returns:
        the name of the header Content-Type.
      • accept

        public String accept()
        The media type such as: 'text/xml', or 'application/json' this REST service accepts. The option is a: String type. Group: producer
        Returns:
        the name of the header Accept.
      • httpResponseCode

        public String httpResponseCode()
        The http response code. The option is a: Integer type. Group: producer
        Returns:
        the name of the header HttpResponseCode.