Interface ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    All Known Subinterfaces:
    ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointBuilder
    Enclosing interface:
    ResteasyEndpointBuilderFactory

    public static interface ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Advanced builder for endpoint producers for the Resteasy component.
    • Method Detail

      • cookieHandler

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder cookieHandler​(org.apache.camel.http.base.cookie.CookieHandler cookieHandler)
        Configure a cookie handler to maintain a HTTP session. The option is a: <code>org.apache.camel.http.base.cookie.CookieHandler</code> type. Group: producer (advanced)
        Parameters:
        cookieHandler - the value to set
        Returns:
        the dsl builder
      • cookieHandler

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder cookieHandler​(String cookieHandler)
        Configure a cookie handler to maintain a HTTP session. The option will be converted to a <code>org.apache.camel.http.base.cookie.CookieHandler</code> type. Group: producer (advanced)
        Parameters:
        cookieHandler - the value to set
        Returns:
        the dsl builder
      • deleteWithBody

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder deleteWithBody​(boolean deleteWithBody)
        Whether the HTTP DELETE should include the message body or not. By default HTTP DELETE do not include any HTTP body. However in some rare cases users may need to be able to include the message body. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        deleteWithBody - the value to set
        Returns:
        the dsl builder
      • deleteWithBody

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder deleteWithBody​(String deleteWithBody)
        Whether the HTTP DELETE should include the message body or not. By default HTTP DELETE do not include any HTTP body. However in some rare cases users may need to be able to include the message body. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        deleteWithBody - the value to set
        Returns:
        the dsl builder
      • getWithBody

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder getWithBody​(boolean getWithBody)
        Whether the HTTP GET should include the message body or not. By default HTTP GET do not include any HTTP body. However in some rare cases users may need to be able to include the message body. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        getWithBody - the value to set
        Returns:
        the dsl builder
      • getWithBody

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder getWithBody​(String getWithBody)
        Whether the HTTP GET should include the message body or not. By default HTTP GET do not include any HTTP body. However in some rare cases users may need to be able to include the message body. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        getWithBody - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder lazyStartProducer​(boolean lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder lazyStartProducer​(String lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • okStatusCodeRange

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder okStatusCodeRange​(String okStatusCodeRange)
        The status codes which are considered a success response. The values are inclusive. Multiple ranges can be defined, separated by comma, e.g. 200-204,209,301-304. Each range must be a single number or from-to with the dash included. The option is a: <code>java.lang.String</code> type. Default: 200-299 Group: producer (advanced)
        Parameters:
        okStatusCodeRange - the value to set
        Returns:
        the dsl builder
      • skipRequestHeaders

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder skipRequestHeaders​(boolean skipRequestHeaders)
        Whether to skip mapping all the Camel headers as HTTP request headers. If there are no data from Camel headers needed to be included in the HTTP request then this can avoid parsing overhead with many object allocations for the JVM garbage collector. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        skipRequestHeaders - the value to set
        Returns:
        the dsl builder
      • skipRequestHeaders

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder skipRequestHeaders​(String skipRequestHeaders)
        Whether to skip mapping all the Camel headers as HTTP request headers. If there are no data from Camel headers needed to be included in the HTTP request then this can avoid parsing overhead with many object allocations for the JVM garbage collector. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        skipRequestHeaders - the value to set
        Returns:
        the dsl builder
      • skipResponseHeaders

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder skipResponseHeaders​(boolean skipResponseHeaders)
        Whether to skip mapping all the HTTP response headers to Camel headers. If there are no data needed from HTTP headers then this can avoid parsing overhead with many object allocations for the JVM garbage collector. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        skipResponseHeaders - the value to set
        Returns:
        the dsl builder
      • skipResponseHeaders

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder skipResponseHeaders​(String skipResponseHeaders)
        Whether to skip mapping all the HTTP response headers to Camel headers. If there are no data needed from HTTP headers then this can avoid parsing overhead with many object allocations for the JVM garbage collector. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        skipResponseHeaders - the value to set
        Returns:
        the dsl builder
      • headerFilterStrategy

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder headerFilterStrategy​(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
        To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option is a: <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: advanced
        Parameters:
        headerFilterStrategy - the value to set
        Returns:
        the dsl builder
      • headerFilterStrategy

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder headerFilterStrategy​(String headerFilterStrategy)
        To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option will be converted to a <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: advanced
        Parameters:
        headerFilterStrategy - the value to set
        Returns:
        the dsl builder
      • setHttpResponseDuringProcessing

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder setHttpResponseDuringProcessing​(Boolean setHttpResponseDuringProcessing)
        Sets the flag to use the endpoint where you can either populate camel exchange from servlet response or use request itself which may be thought as if it is a proxy. The option is a: <code>java.lang.Boolean</code> type. Group: advanced
        Parameters:
        setHttpResponseDuringProcessing - the value to set
        Returns:
        the dsl builder
      • setHttpResponseDuringProcessing

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder setHttpResponseDuringProcessing​(String setHttpResponseDuringProcessing)
        Sets the flag to use the endpoint where you can either populate camel exchange from servlet response or use request itself which may be thought as if it is a proxy. The option will be converted to a <code>java.lang.Boolean</code> type. Group: advanced
        Parameters:
        setHttpResponseDuringProcessing - the value to set
        Returns:
        the dsl builder
      • skipServletProcessing

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder skipServletProcessing​(Boolean skipServletProcessing)
        Sets the flag to use skip servlet processing and let camel take over processing. The option is a: <code>java.lang.Boolean</code> type. Group: advanced
        Parameters:
        skipServletProcessing - the value to set
        Returns:
        the dsl builder
      • skipServletProcessing

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder skipServletProcessing​(String skipServletProcessing)
        Sets the flag to use skip servlet processing and let camel take over processing. The option will be converted to a <code>java.lang.Boolean</code> type. Group: advanced
        Parameters:
        skipServletProcessing - the value to set
        Returns:
        the dsl builder
      • useSystemProperties

        default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder useSystemProperties​(boolean useSystemProperties)
        To use System Properties as fallback for configuration. The option is a: <code>boolean</code> type. Default: false Group: advanced
        Parameters:
        useSystemProperties - the value to set
        Returns:
        the dsl builder