Annotation Type NtsUserCookieRelayFeignClient

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<?>[] configuration
      A custom @Configuration for the feign client.
      boolean decode404
      Whether 404s should be decoded instead of throwing FeignExceptions.
      Class<?> fallback
      Fallback class for the specified Feign client interface.
      String name  
      String path
      Path prefix to be used by all method-level mappings.
      String url
      An absolute URL or resolvable hostname (the protocol is optional).
    • Element Detail

      • name

        @AliasFor(annotation=org.springframework.cloud.openfeign.FeignClient.class,
                  attribute="name")
        String name
        Default:
        ""
      • configuration

        @AliasFor(annotation=org.springframework.cloud.openfeign.FeignClient.class,
                  attribute="configuration")
        Class<?>[] configuration
        A custom @Configuration for the feign client. Can contain override @Bean definition for the pieces that make up the client, for instance Decoder, Encoder, Contract.
        Returns:
        the custom @Configuration for the feign client.
        See Also:
        for the defaults.
        Default:
        {org.nentangso.core.client.NtsTokenRelayInterceptedFeignConfiguration.class}
      • url

        String url
        An absolute URL or resolvable hostname (the protocol is optional).
        Returns:
        the URL.
        Default:
        ""
      • decode404

        boolean decode404
        Whether 404s should be decoded instead of throwing FeignExceptions.
        Returns:
        true if 404s will be decoded; false otherwise.
        Default:
        false
      • fallback

        Class<?> fallback
        Fallback class for the specified Feign client interface. The fallback class must implement the interface annotated by this annotation and be a valid Spring bean.
        Returns:
        the fallback class for the specified Feign client interface.
        Default:
        void.class
      • path

        String path
        Path prefix to be used by all method-level mappings.
        Returns:
        the path prefix to be used by all method-level mappings.
        Default:
        ""