Package org.nentangso.core.client
Annotation Type NtsAuthorizedFeignClient
-
@Retention(RUNTIME) @Target(TYPE) @Documented @FeignClient public @interface NtsAuthorizedFeignClient
Internal call with client credentials, client-registration-id=internal
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<?>[]configurationA custom@Configurationfor the feign client.booleandecode404Whether 404s should be decoded instead of throwing FeignExceptions.Class<?>fallbackFallback class for the specified Feign client interface.StringnameStringpathPath prefix to be used by all method-level mappings.StringurlAn 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<?>[] configurationA custom@Configurationfor the feign client. Can contain override@Beandefinition for the pieces that make up the client, for instanceDecoder,Encoder,Contract.- Returns:
- the custom
@Configurationfor the feign client. - See Also:
for the defaults.
- Default:
- {org.nentangso.core.client.NtsClientCredentialsInterceptedFeignConfiguration.class}
-
-
-
url
String url
An absolute URL or resolvable hostname (the protocol is optional).- Returns:
- the URL.
- Default:
- ""
-
-
-
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:
- ""
-
-