Class RequestInterceptor

    • Constructor Detail

      • RequestInterceptor

        public RequestInterceptor()
        Initializes a new instance of RequestInterceptor.
      • RequestInterceptor

        public RequestInterceptor​(BatchRequestInterceptHandler handler)
        Initializes a new instance of RequestInterceptor.
        Parameters:
        handler - The handler which will intercept requests to the Batch service.
    • Method Detail

      • handler

        public BatchRequestInterceptHandler handler()
        Gets the handler which will intercept requests to the Batch service.
        Returns:
        The handler which will intercept requests to the Batch service.
      • withHandler

        public RequestInterceptor withHandler​(BatchRequestInterceptHandler handler)
        Sets the handler which will intercept requests to the Batch service.
        Parameters:
        handler - The handler which will intercept requests to the Batch service.
        Returns:
        The current instance.