Class Iti68Component

  • All Implemented Interfaces:
    AutoCloseable, org.apache.camel.CamelContextAware, org.apache.camel.Component, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HeaderFilterStrategyAware, org.apache.camel.spi.RestApiConsumerFactory, org.apache.camel.spi.RestConsumerFactory, org.apache.camel.StatefulService, org.apache.camel.SuspendableService, AuditableComponent<Iti68AuditDataset>, InterceptableComponent

    public class Iti68Component
    extends org.apache.camel.component.servlet.ServletComponent
    implements InterceptableComponent, AuditableComponent<Iti68AuditDataset>
    Component for MHD Retrieve Document (ITI-68)
    Since:
    3.4
    Author:
    Christian Ohr
    • Field Summary

      • Fields inherited from class org.apache.camel.http.common.HttpCommonComponent

        allowJavaSerializedObject, httpBinding, httpConfiguration
      • Fields inherited from class org.apache.camel.support.service.BaseService

        BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
    • Constructor Summary

      Constructors 
      Constructor Description
      Iti68Component()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.camel.Endpoint createEndpoint​(String uri, String remaining, Map<String,​Object> parameters)  
      protected Iti68Endpoint createServletEndpoint​(String endpointUri, org.apache.camel.component.servlet.ServletComponent component, URI httpUri)  
      List<Interceptor<?>> getAdditionalConsumerInterceptors()
      Returns a list of component-specific (i.e.
      List<Interceptor<?>> getAdditionalProducerInterceptors()
      Returns a list of component-specific (i.e.
      AuditStrategy<Iti68AuditDataset> getClientAuditStrategy()
      Returns client-side audit strategy instance.
      AuditStrategy<Iti68AuditDataset> getServerAuditStrategy()
      Returns server-side audit strategy instance.
      protected boolean lenientContextPath()  
      • Methods inherited from class org.apache.camel.component.servlet.ServletComponent

        connect, createApiConsumer, createConsumer, disconnect, doStart, getFileNameExtWhitelist, getHttpRegistry, getServletName, isAttachmentMultipartBinding, setAttachmentMultipartBinding, setFileNameExtWhitelist, setHttpRegistry, setServletName
      • Methods inherited from class org.apache.camel.http.common.HttpCommonComponent

        canConnect, getHttpBinding, getHttpConfiguration, getParameter, getParameter, isAllowJavaSerializedObject, setAllowJavaSerializedObject, setHttpBinding, setHttpConfiguration, useIntrospectionOnEndpoint
      • Methods inherited from class org.apache.camel.support.HeaderFilterStrategyComponent

        getHeaderFilterStrategy, setEndpointHeaderFilterStrategy, setHeaderFilterStrategy
      • Methods inherited from class org.apache.camel.support.DefaultComponent

        afterConfiguration, createEndpoint, createEndpoint, doBuild, doInit, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useRawUri, validateParameters, validateURI
      • Methods inherited from class org.apache.camel.support.service.BaseService

        build, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
      • Methods inherited from interface org.apache.camel.CamelContextAware

        getCamelContext, setCamelContext
      • Methods inherited from interface org.apache.camel.Component

        createEndpoint, createEndpoint, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, useRawUri
      • Methods inherited from interface org.apache.camel.Service

        build, close, init, start, stop
      • Methods inherited from interface org.apache.camel.ShutdownableService

        shutdown
      • Methods inherited from interface org.apache.camel.StatefulService

        getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
      • Methods inherited from interface org.apache.camel.SuspendableService

        isSuspended, resume, suspend
    • Constructor Detail

      • Iti68Component

        public Iti68Component()
    • Method Detail

      • createEndpoint

        protected org.apache.camel.Endpoint createEndpoint​(String uri,
                                                           String remaining,
                                                           Map<String,​Object> parameters)
                                                    throws Exception
        Overrides:
        createEndpoint in class org.apache.camel.component.servlet.ServletComponent
        Throws:
        Exception
      • createServletEndpoint

        protected Iti68Endpoint createServletEndpoint​(String endpointUri,
                                                      org.apache.camel.component.servlet.ServletComponent component,
                                                      URI httpUri)
                                               throws Exception
        Overrides:
        createServletEndpoint in class org.apache.camel.component.servlet.ServletComponent
        Throws:
        Exception
      • lenientContextPath

        protected boolean lenientContextPath()
        Overrides:
        lenientContextPath in class org.apache.camel.component.servlet.ServletComponent
      • getAdditionalConsumerInterceptors

        public List<Interceptor<?>> getAdditionalConsumerInterceptors()
        Description copied from interface: InterceptableComponent
        Returns a list of component-specific (i.e. transaction-specific) interceptors which will be integrated into the interceptor chain of each consumer instance created by this component.

        Per default returns an empty list.
        When overwriting this method, please note:

        • Neither the returned list nor any element of it are allowed to be null.
        • Each invocation should return freshly created instances of interceptors (like prototype-scope beans in Spring), because interceptors cannot be reused by multiple endpoints.
        Specified by:
        getAdditionalConsumerInterceptors in interface InterceptableComponent
        Returns:
        a list of component-specific (i.e. transaction-specific) FHIR interceptors
      • getAdditionalProducerInterceptors

        public List<Interceptor<?>> getAdditionalProducerInterceptors()
        Description copied from interface: InterceptableComponent
        Returns a list of component-specific (i.e. transaction-specific) FHIR interceptors which will be integrated into the interceptor chain of each producer instance created by this component.

        Per default returns an empty list.
        When overwriting this method, please note:

        • Neither the returned list nor any element of it are allowed to be null.
        • Each invocation should return freshly created instances of interceptors (like prototype-scope beans in Spring), because interceptors cannot be reused by multiple endpoints.
        Specified by:
        getAdditionalProducerInterceptors in interface InterceptableComponent
        Returns:
        a list of component-specific (i.e. transaction-specific) FHIR interceptors