Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W 

A

ACCEPT_ENCODING - Static variable in class feign.Util
The HTTP Accept-Encoding header field name.
addCapability(Capability) - Method in class feign.BaseBuilder
 
addCapability(Capability) - Method in class feign.Feign.Builder
 
addWarning(String) - Method in class feign.MethodMetadata
 
allFields(Class<?>) - Static method in class feign.Util
 
alwaysEncodeBody() - Method in class feign.MethodMetadata
 
AlwaysEncodeBodyContract - Class in feign
DeclarativeContract extension that allows user provided custom encoders to define the request message payload using only the request template and the method parameters, not requiring a specific and unique body object.
AlwaysEncodeBodyContract() - Constructor for class feign.AlwaysEncodeBodyContract
 
andThen(ResponseInterceptor) - Method in interface feign.ResponseInterceptor
Return a new ResponseInterceptor that invokes the current interceptor first and then the one that is passed in.
append(CharSequence) - Method in class feign.RequestTemplate
append(HeaderTemplate, Iterable<String>) - Static method in class feign.template.HeaderTemplate
Append values to a Header Template.
append(QueryTemplate, Iterable<String>, CollectionFormat, boolean) - Static method in class feign.template.QueryTemplate
Append a value to the Query Template.
append(UriTemplate, String) - Static method in class feign.template.UriTemplate
Append a uri fragment to the template.
appendLiteral(HeaderTemplate, Iterable<String>) - Static method in class feign.template.HeaderTemplate
Append values to a Header Template, as literals
appendToFile(String) - Method in class feign.Logger.JavaLogger
Helper that configures java.util.logging to sanely log messages at FINE level without additional formatting.
apply(RequestTemplate) - Method in class feign.auth.BasicAuthRequestInterceptor
 
apply(String) - Method in class feign.codec.ErrorDecoder.RetryAfterDecoder
returns an epoch millisecond that corresponds to the first time a request can be retried.
apply(RequestTemplate) - Method in interface feign.RequestInterceptor
Called for every request.
apply(ResponseInterceptor.Chain) - Method in interface feign.ResponseInterceptor
Apply this interceptor to the given Chain resulting in an intercepted chain.
apply(RequestTemplate) - Method in interface feign.Target
Targets a template to this target, adding the base url and any target-specific headers or query parameters.
apply(RequestTemplate) - Method in class feign.Target.EmptyTarget
 
apply(RequestTemplate) - Method in class feign.Target.HardCodedTarget
 
asBytes() - Method in class feign.Request.Body
 
asInputStream() - Method in interface feign.Response.Body
It is the responsibility of the caller to close the stream.
asReader() - Method in interface feign.Response.Body
Deprecated.
favor Body#asReader(Charset)
asReader(Charset) - Method in interface feign.Response.Body
It is the responsibility of the caller to close the stream.
asString() - Method in class feign.Request.Body
 
asyncBuilder() - Static method in class feign.AsyncFeign
Deprecated.
AsyncBuilder() - Constructor for class feign.AsyncFeign.AsyncBuilder
 
AsyncClient<C> - Interface in feign
Submits HTTP requests asynchronously, with an optional context.
AsyncClient.Default<C> - Class in feign
 
AsyncClient.Pseudo<C> - Class in feign
A synchronous implementation of AsyncClient
AsyncContextSupplier<C> - Interface in feign
 
AsyncFeign<C> - Class in feign
Enhances Feign to provide support for asynchronous clients.
AsyncFeign.AsyncBuilder<C> - Class in feign
 

B

BadGateway(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.BadGateway
 
BadRequest(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.BadRequest
 
BaseBuilder<B extends BaseBuilder<B,T>,T> - Class in feign
 
BaseBuilder() - Constructor for class feign.BaseBuilder
 
BaseContract() - Constructor for class feign.Contract.BaseContract
 
BasicAuthRequestInterceptor - Class in feign.auth
An interceptor that adds the request header needed to use HTTP basic authentication.
BasicAuthRequestInterceptor(String, String) - Constructor for class feign.auth.BasicAuthRequestInterceptor
Creates an interceptor that authenticates all requests with the specified username and password encoded using ISO-8859-1.
BasicAuthRequestInterceptor(String, String, Charset) - Constructor for class feign.auth.BasicAuthRequestInterceptor
Creates an interceptor that authenticates all requests with the specified username and password encoded using the specified charset.
BeanQueryMapEncoder - Class in feign.querymap
the query map will be generated using java beans accessible getter property as query parameter names.
BeanQueryMapEncoder() - Constructor for class feign.querymap.BeanQueryMapEncoder
 
Body - Annotation Type in feign
A possibly templated body of a PUT or POST command.
body() - Method in class feign.Request
If present, this is the replayable body to send to the server.
body(byte[], Charset) - Method in class feign.RequestTemplate
Sets the Body and Charset for this request.
body(String) - Method in class feign.RequestTemplate
Set the Body for this request.
body(Request.Body) - Method in class feign.RequestTemplate
Deprecated.
body() - Method in class feign.RequestTemplate
The Request Body.
body() - Method in class feign.Response
if present, the response had a body
body(Response.Body) - Method in class feign.Response.Builder
 
body(InputStream, Integer) - Method in class feign.Response.Builder
 
body(byte[]) - Method in class feign.Response.Builder
 
body(String, Charset) - Method in class feign.Response.Builder
 
body() - Method in class feign.TypedResponse
if present, the response had a body
body(T) - Method in class feign.TypedResponse.Builder
 
bodyIndex() - Method in class feign.MethodMetadata
 
bodyIndex(Integer) - Method in class feign.MethodMetadata
 
bodyTemplate(String) - Method in class feign.RequestTemplate
Specify the Body Template to use.
bodyTemplate(String, Charset) - Method in class feign.RequestTemplate
Specify the Body Template to use.
bodyTemplate() - Method in class feign.RequestTemplate
Body Template to resolve.
BodyTemplate - Class in feign.template
Template for @Body annotated Templates.
bodyType() - Method in class feign.MethodMetadata
Type corresponding to MethodMetadata.bodyIndex().
bodyType(Type) - Method in class feign.MethodMetadata
 
build() - Method in class feign.BaseBuilder
 
build() - Method in class feign.Response.Builder
 
build() - Method in class feign.TypedResponse.Builder
 
builder() - Static method in class feign.AsyncFeign
 
builder() - Static method in class feign.Feign
 
Builder() - Constructor for class feign.Feign.Builder
 
builder() - Static method in class feign.Response
 
builder() - Static method in class feign.TypedResponse
 
builder(Response) - Static method in class feign.TypedResponse
 

C

capabilities - Variable in class feign.BaseBuilder
 
Capability - Interface in feign
Capabilities expose core feign artifacts to implementations so parts of core can be customized around the time the client being built.
caseInsensitiveCopyOf(Map<String, Collection<String>>) - Static method in class feign.Util
Copy entire map of string collection.
charset() - Method in class feign.Request
Charset of the request.
charset() - Method in class feign.Response
 
checkArgument(boolean, String, Object...) - Static method in class feign.Util
Copy of com.google.common.base.Preconditions#checkArgument.
checkNotNull(T, String, Object...) - Static method in class feign.Util
Copy of com.google.common.base.Preconditions#checkNotNull.
checkState(boolean, String, Object...) - Static method in class feign.Util
Copy of com.google.common.base.Preconditions#checkState.
client(AsyncClient<C>) - Method in class feign.AsyncFeign.AsyncBuilder
 
Client - Interface in feign
Submits HTTP requests.
client(Client) - Method in class feign.Feign.Builder
 
Client.Default - Class in feign
 
Client.Proxied - Class in feign
Client that supports a Proxy.
clone() - Method in interface feign.Retryer
 
clone() - Method in class feign.Retryer.Default
 
close() - Method in class feign.Response
 
closeAfterDecode - Variable in class feign.BaseBuilder
 
CollectionFormat - Enum in feign
Various ways to encode collections in URL parameters.
collectionFormat(CollectionFormat) - Method in class feign.RequestTemplate
The Collection Format to use when resolving variables that represent Iterables or Collections
collectionFormat() - Method in class feign.RequestTemplate
The Collection Format that will be used when resolving Iterable and Collection variables.
configKey(Class, Method) - Static method in class feign.Feign
Configuration keys are formatted as unresolved see tags.
configKey(Method) - Static method in class feign.Feign
Deprecated.
configKey() - Method in class feign.MethodMetadata
Used as a reference to this method.
configKey(String) - Method in class feign.MethodMetadata
 
Conflict(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.Conflict
 
connectTimeout() - Method in class feign.Request.Options
Connect Timeout Value.
connectTimeoutMillis() - Method in class feign.Request.Options
Defaults to 10 seconds.
connectTimeoutUnit() - Method in class feign.Request.Options
TimeUnit for the Connection Timeout value.
content() - Method in exception feign.FeignException
Deprecated.
CONTENT_ENCODING - Static variable in class feign.Util
The HTTP Content-Encoding header field name.
CONTENT_LENGTH - Static variable in class feign.Util
The HTTP Content-Length header field name.
contentUTF8() - Method in exception feign.FeignException
 
continueOrPropagate(RetryableException) - Method in interface feign.Retryer
if retry is permitted, return (possibly after sleeping).
continueOrPropagate(RetryableException) - Method in class feign.Retryer.Default
 
contract(Contract) - Method in class feign.AsyncFeign.AsyncBuilder
 
contract - Variable in class feign.BaseBuilder
 
contract(Contract) - Method in class feign.BaseBuilder
 
Contract - Interface in feign
Defines what annotations and values are valid on interfaces.
contract(Contract) - Method in class feign.Feign.Builder
 
Contract.BaseContract - Class in feign
 
Contract.Default - Class in feign
 
create(Target, Map<Method, InvocationHandlerFactory.MethodHandler>) - Method in interface feign.InvocationHandlerFactory
 
create(Target, Map<Method, InvocationHandlerFactory.MethodHandler>) - Method in class feign.InvocationHandlerFactory.Default
 
create(Target<?>, MethodMetadata, C) - Method in interface feign.InvocationHandlerFactory.MethodHandler.Factory
 
create(String) - Static method in class feign.Request.Body
 
create(String, Charset) - Static method in class feign.Request.Body
 
create(byte[]) - Static method in class feign.Request.Body
 
create(byte[], Charset) - Static method in class feign.Request.Body
 
create(String, String, Map<String, Collection<String>>, byte[], Charset) - Static method in class feign.Request
create(Request.HttpMethod, String, Map<String, Collection<String>>, byte[], Charset) - Static method in class feign.Request
Deprecated.
create(Request.HttpMethod, String, Map<String, Collection<String>>, byte[], Charset, RequestTemplate) - Static method in class feign.Request
Builds a Request.
create(Request.HttpMethod, String, Map<String, Collection<String>>, Request.Body, RequestTemplate) - Static method in class feign.Request
Builds a Request.
create(Decoder) - Static method in class feign.stream.StreamDecoder
 
create(Decoder, Decoder) - Static method in class feign.stream.StreamDecoder
 
create(Class<T>) - Static method in class feign.Target.EmptyTarget
 
create(Class<T>, String) - Static method in class feign.Target.EmptyTarget
 
create(String) - Static method in class feign.template.BodyTemplate
Create a new Body Template.
create(String, Charset) - Static method in class feign.template.BodyTemplate
Create a new Body Template.
create(String) - Static method in class feign.template.Expressions
 
create(String, Iterable<String>) - Static method in class feign.template.HeaderTemplate
 
create(String) - Static method in class feign.template.Literal
Create a new Literal.
create(String, Iterable<String>, Charset) - Static method in class feign.template.QueryTemplate
Create a new Query Template.
create(String, Iterable<String>, Charset, CollectionFormat) - Static method in class feign.template.QueryTemplate
 
create(String, Iterable<String>, Charset, CollectionFormat, boolean) - Static method in class feign.template.QueryTemplate
Create a new Query Template.
create(String, Charset) - Static method in class feign.template.UriTemplate
Create a Uri Template.
create(String, boolean, Charset) - Static method in class feign.template.UriTemplate
Create a Uri Template.
currentTimeMillis() - Method in class feign.codec.ErrorDecoder.RetryAfterDecoder
 
currentTimeMillis() - Method in class feign.Retryer.Default
 

D

DeclarativeContract - Class in feign
Contract base implementation that works by declaring witch annotations should be processed and how each annotation modifies MethodMetadata
DeclarativeContract() - Constructor for class feign.DeclarativeContract
 
DeclarativeContract.AnnotationProcessor<E extends Annotation> - Interface in feign
 
DeclarativeContract.ParameterAnnotationProcessor<E extends Annotation> - Interface in feign
 
decode(Response, Type) - Method in interface feign.codec.Decoder
Decodes an http response into an object corresponding to its generic return type.
decode(Response, Type) - Method in class feign.codec.Decoder.Default
 
decode(String, Response) - Method in interface feign.codec.ErrorDecoder
Implement this method in order to decode an HTTP Response when Response.status() is not in the 2xx range.
decode(String, Response) - Method in class feign.codec.ErrorDecoder.Default
 
decode(Response, Type) - Method in class feign.codec.StringDecoder
 
decode(Response, Type) - Method in class feign.Feign.ResponseMappingDecoder
 
decode(Response, Type) - Method in class feign.optionals.OptionalDecoder
 
decode(Response, Type) - Method in class feign.stream.StreamDecoder
 
decode(String, Charset) - Static method in class feign.template.UriUtils
Uri Decode the value.
decode404() - Method in class feign.AsyncFeign.AsyncBuilder
Deprecated.
decode404() - Method in class feign.BaseBuilder
Deprecated.
decode404() - Method in class feign.Feign.Builder
Deprecated.
DecodeException - Exception in feign.codec
Similar to javax.websocket.DecodeException, raised when a problem occurs decoding a message.
DecodeException(int, String, Request) - Constructor for exception feign.codec.DecodeException
 
DecodeException(int, String, Request, Throwable) - Constructor for exception feign.codec.DecodeException
 
decodeOrDefault(byte[], Charset, String) - Static method in class feign.Util
 
decoder(Decoder) - Method in class feign.AsyncFeign.AsyncBuilder
 
decoder - Variable in class feign.BaseBuilder
 
decoder(Decoder) - Method in class feign.BaseBuilder
 
Decoder - Interface in feign.codec
Decodes an HTTP response into a single object of the given type.
decoder(Decoder) - Method in class feign.Feign.Builder
 
decoder() - Method in class feign.InvocationContext
 
Decoder.Default - Class in feign.codec
Default implementation of Decoder.
decodeSlash(boolean) - Method in class feign.RequestTemplate
Set whether do encode slash / characters when resolving this template.
decodeSlash() - Method in class feign.RequestTemplate
If slash / characters are not encoded when resolving.
decodeVoid() - Method in class feign.AsyncFeign.AsyncBuilder
 
decodeVoid - Variable in class feign.BaseBuilder
 
decodeVoid() - Method in class feign.BaseBuilder
 
decodeVoid() - Method in class feign.Feign.Builder
 
Default(Client, ExecutorService) - Constructor for class feign.AsyncClient.Default
 
Default(SSLSocketFactory, HostnameVerifier) - Constructor for class feign.Client.Default
Create a new client, which disable request buffering by default.
Default(SSLSocketFactory, HostnameVerifier, boolean) - Constructor for class feign.Client.Default
Create a new client.
Default() - Constructor for class feign.codec.Decoder.Default
 
Default() - Constructor for class feign.codec.Encoder.Default
 
Default() - Constructor for class feign.codec.ErrorDecoder.Default
 
Default(Integer, Integer) - Constructor for class feign.codec.ErrorDecoder.Default
 
Default() - Constructor for class feign.Contract.Default
 
Default() - Constructor for class feign.InvocationHandlerFactory.Default
 
Default() - Constructor for class feign.QueryMapEncoder.Default
Deprecated.
 
DEFAULT - Static variable in interface feign.ResponseInterceptor.Chain
 
Default() - Constructor for class feign.Retryer.Default
 
Default(long, long, int) - Constructor for class feign.Retryer.Default
 
defaultContextSupplier(Supplier<C>) - Method in class feign.AsyncFeign.AsyncBuilder
Deprecated.
defaultContextSupplier(AsyncContextSupplier<C>) - Method in class feign.AsyncFeign.AsyncBuilder
 
dismiss404() - Method in class feign.AsyncFeign.AsyncBuilder
 
dismiss404 - Variable in class feign.BaseBuilder
 
dismiss404() - Method in class feign.BaseBuilder
This flag indicates that the decoder should process responses with 404 status, specifically returning null or empty instead of throwing FeignException.
DO_NOTHING - Static variable in interface feign.DeclarativeContract.ParameterAnnotationProcessor
 
doNotCloseAfterDecode() - Method in class feign.AsyncFeign.AsyncBuilder
 
doNotCloseAfterDecode() - Method in class feign.BaseBuilder
This flag indicates that the response should not be automatically closed upon completion of decoding the message.
doNotCloseAfterDecode() - Method in class feign.Feign.Builder
 

E

empty() - Static method in class feign.Request.Body
 
emptyToNull(String) - Static method in class feign.Util
Adapted from com.google.common.base.Strings#emptyToNull.
emptyValueOf(Type) - Static method in class feign.Util
This returns well known empty values for well-known java types.
encode(Object, Type, RequestTemplate) - Method in class feign.codec.Encoder.Default
 
encode(Object, Type, RequestTemplate) - Method in interface feign.codec.Encoder
Converts objects to an appropriate representation in the template.
encode(Object) - Method in class feign.querymap.BeanQueryMapEncoder
 
encode(Object) - Method in class feign.querymap.FieldQueryMapEncoder
 
encode(Object) - Method in interface feign.QueryMapEncoder
Encodes the given object into a query map.
encode(String) - Static method in class feign.template.UriUtils
Uri Encode the value, using the default Charset.
encode(String, Charset) - Static method in class feign.template.UriUtils
Uri Encode the value.
encode(String, boolean) - Static method in class feign.template.UriUtils
 
encode(String, Charset, boolean) - Static method in class feign.template.UriUtils
 
encoded(byte[], Charset) - Static method in class feign.Request.Body
Deprecated.
EncodeException - Exception in feign.codec
Similar to javax.websocket.EncodeException, raised when a problem occurs encoding a message.
EncodeException(String) - Constructor for exception feign.codec.EncodeException
 
EncodeException(String, Throwable) - Constructor for exception feign.codec.EncodeException
 
encodeInternal(String, Charset, boolean) - Static method in class feign.template.UriUtils
Encodes the value, preserving all reserved characters..
encodeLiteral() - Method in class feign.template.Template
 
encoder(Encoder) - Method in class feign.AsyncFeign.AsyncBuilder
 
encoder - Variable in class feign.BaseBuilder
 
encoder(Encoder) - Method in class feign.BaseBuilder
 
Encoder - Interface in feign.codec
Encodes an object into an HTTP request body.
encoder(Encoder) - Method in class feign.Feign.Builder
 
Encoder.Default - Class in feign.codec
Default implementation of Encoder.
ENCODING_DEFLATE - Static variable in class feign.Util
Value for the Content-Encoding header that indicates that DEFLATE encoding is in use.
ENCODING_GZIP - Static variable in class feign.Util
Value for the Content-Encoding header that indicates that GZIP encoding is in use.
enrich(Object, Class<?>, List<Capability>) - Static method in interface feign.Capability
 
enrich(Client) - Method in interface feign.Capability
 
enrich(AsyncClient<Object>) - Method in interface feign.Capability
 
enrich(Retryer) - Method in interface feign.Capability
 
enrich(RequestInterceptor) - Method in interface feign.Capability
 
enrich(ResponseInterceptor) - Method in interface feign.Capability
 
enrich(ResponseInterceptor.Chain) - Method in interface feign.Capability
 
enrich(Logger) - Method in interface feign.Capability
 
enrich(Logger.Level) - Method in interface feign.Capability
 
enrich(Contract) - Method in interface feign.Capability
 
enrich(Request.Options) - Method in interface feign.Capability
 
enrich(Encoder) - Method in interface feign.Capability
 
enrich(Decoder) - Method in interface feign.Capability
 
enrich(ErrorDecoder) - Method in interface feign.Capability
 
enrich(InvocationHandlerFactory) - Method in interface feign.Capability
 
enrich(QueryMapEncoder) - Method in interface feign.Capability
 
enrich(AsyncResponseHandler) - Method in interface feign.Capability
 
enrich(AsyncContextSupplier<C>) - Method in interface feign.Capability
 
enrich(MethodInfoResolver) - Method in interface feign.Capability
 
ensureClosed(Closeable) - Static method in class feign.Util
 
enumForName(Class<T>, Object) - Static method in class feign.Util
 
equals(Object) - Method in class feign.Target.EmptyTarget
 
equals(Object) - Method in class feign.Target.HardCodedTarget
 
errorDecoder(ErrorDecoder) - Method in class feign.AsyncFeign.AsyncBuilder
 
errorDecoder - Variable in class feign.BaseBuilder
 
errorDecoder(ErrorDecoder) - Method in class feign.BaseBuilder
 
ErrorDecoder - Interface in feign.codec
Allows you to massage an exception into a application-specific one.
errorDecoder(ErrorDecoder) - Method in class feign.Feign.Builder
 
ErrorDecoder.Default - Class in feign.codec
 
ErrorDecoder.RetryAfterDecoder - Class in feign.codec
Decodes a Util.RETRY_AFTER header into an epoch millisecond, if possible.
See Retry-After format
ErrorLogger() - Constructor for class feign.Logger.ErrorLogger
 
errorStatus(String, Response) - Static method in exception feign.FeignException
 
errorStatus(String, Response, Integer, Integer) - Static method in exception feign.FeignException
 
exceptionPropagationPolicy(ExceptionPropagationPolicy) - Method in class feign.BaseBuilder
 
ExceptionPropagationPolicy - Enum in feign
 
exceptionPropagationPolicy(ExceptionPropagationPolicy) - Method in class feign.Feign.Builder
 
ExceptionUtils - Class in feign.utils
 
ExceptionUtils() - Constructor for class feign.utils.ExceptionUtils
 
execute(Request, Request.Options, Optional<C>) - Method in class feign.AsyncClient.Default
 
execute(Request, Request.Options, Optional<C>) - Method in interface feign.AsyncClient
Executes the request asynchronously.
execute(Request, Request.Options, Optional<C>) - Method in class feign.AsyncClient.Pseudo
 
execute(Request, Request.Options) - Method in class feign.Client.Default
 
execute(Request, Request.Options) - Method in interface feign.Client
Executes a request against its url and returns a response.
expand(Object) - Method in interface feign.Param.Expander
Expands the value into a string.
expand(Object) - Method in class feign.Param.ToStringExpander
 
expand(Map<String, ?>) - Method in class feign.template.BodyTemplate
 
expand(Object, boolean) - Method in class feign.template.Expressions.PathStyleExpression
 
expand(Object) - Method in class feign.template.Expressions.PathStyleExpression
 
expand(Map<String, ?>) - Method in class feign.template.HeaderTemplate
 
expand(Map<String, ?>) - Method in class feign.template.QueryTemplate
Expand this template.
expand(Map<String, ?>) - Method in class feign.template.Template
Expand the template.
Experimental - Annotation Type in feign
Indicates that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.
Expressions - Class in feign.template
 
Expressions() - Constructor for class feign.template.Expressions
 
Expressions.PathStyleExpression - Class in feign.template
 

F

feign - package feign
 
Feign - Class in feign
Feign's purpose is to ease development against http apis that feign restfulness.
Feign() - Constructor for class feign.Feign
 
feign.auth - package feign.auth
 
Feign.Builder - Class in feign
 
feign.codec - package feign.codec
 
feign.optionals - package feign.optionals
 
feign.querymap - package feign.querymap
 
Feign.ResponseMappingDecoder - Class in feign
 
feign.stream - package feign.stream
 
feign.template - package feign.template
 
feign.utils - package feign.utils
 
FeignClientException(int, String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.FeignClientException
 
FeignException - Exception in feign
Origin exception type for all Http Apis.
FeignException(int, String, Throwable) - Constructor for exception feign.FeignException
 
FeignException(int, String, Throwable, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException
 
FeignException(int, String) - Constructor for exception feign.FeignException
 
FeignException(int, String, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException
 
FeignException(int, String, Request, Throwable) - Constructor for exception feign.FeignException
 
FeignException(int, String, Request, Throwable, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException
 
FeignException(int, String, Request) - Constructor for exception feign.FeignException
 
FeignException(int, String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException
 
FeignException.BadGateway - Exception in feign
 
FeignException.BadRequest - Exception in feign
 
FeignException.Conflict - Exception in feign
 
FeignException.FeignClientException - Exception in feign
 
FeignException.FeignServerException - Exception in feign
 
FeignException.Forbidden - Exception in feign
 
FeignException.GatewayTimeout - Exception in feign
 
FeignException.Gone - Exception in feign
 
FeignException.InternalServerError - Exception in feign
 
FeignException.MethodNotAllowed - Exception in feign
 
FeignException.NotAcceptable - Exception in feign
 
FeignException.NotFound - Exception in feign
 
FeignException.NotImplemented - Exception in feign
 
FeignException.ServiceUnavailable - Exception in feign
 
FeignException.TooManyRequests - Exception in feign
 
FeignException.Unauthorized - Exception in feign
 
FeignException.UnprocessableEntity - Exception in feign
 
FeignException.UnsupportedMediaType - Exception in feign
 
FeignIgnore - Annotation Type in feign
Indicates that method will be ignored
FeignServerException(int, String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.FeignServerException
 
feignTarget(Target<?>) - Method in class feign.RequestTemplate
 
feignTarget() - Method in class feign.RequestTemplate
 
FieldQueryMapEncoder - Class in feign.querymap
the query map will be generated using member variable names as query parameter names.
FieldQueryMapEncoder() - Constructor for class feign.querymap.FieldQueryMapEncoder
 
Forbidden(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.Forbidden
 
formParams() - Method in class feign.MethodMetadata
 
from(RequestTemplate) - Static method in class feign.RequestTemplate
Create a Request Template from an existing Request Template.

G

GatewayTimeout(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.GatewayTimeout
 
getCharset() - Method in class feign.template.Template
The Charset for the template.
getConnection(URL) - Method in class feign.Client.Default
 
getConnection(URL) - Method in class feign.Client.Proxied
 
getCredentials() - Method in class feign.Client.Proxied
 
getEncoding() - Method in class feign.Request.Body
 
getLiterals() - Method in class feign.template.Template
List of all Literals in the Template.
getMethodOptions(String) - Method in class feign.Request.Options
Get an Options by methodName
getName() - Method in class feign.template.HeaderTemplate
 
getName() - Method in class feign.template.QueryTemplate
 
getRawType(Type) - Static method in class feign.Types
 
getRequestVariables() - Method in class feign.RequestTemplate
Retrieve all uri, header, and query template variables.
getRootCause(Throwable) - Static method in class feign.utils.ExceptionUtils
Introspects the Throwable to obtain the root cause.
getTemplateChunks() - Method in class feign.template.Template
 
getThreadIdentifier() - Static method in class feign.Util
 
getValue() - Method in class feign.template.Expressions.PathStyleExpression
 
getValue() - Method in class feign.template.Literal
 
getValue() - Method in interface feign.template.TemplateChunk
 
getValues() - Method in class feign.template.HeaderTemplate
 
getValues() - Method in class feign.template.QueryTemplate
 
getVariables() - Method in class feign.template.HeaderTemplate
 
getVariables() - Method in class feign.template.QueryTemplate
 
getVariables() - Method in class feign.template.Template
Variable names contained in the template.
Gone(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.Gone
 

H

handleResponse(String, Response, Type, long) - Method in class feign.ResponseHandler
 
HardCodedTarget(Class<T>, String) - Constructor for class feign.Target.HardCodedTarget
 
HardCodedTarget(Class<T>, String, String) - Constructor for class feign.Target.HardCodedTarget
 
hashCode() - Method in class feign.Target.EmptyTarget
 
hashCode() - Method in class feign.Target.HardCodedTarget
 
hasRequest() - Method in exception feign.FeignException
 
hasRequestVariable(String) - Method in class feign.RequestTemplate
Return if the variable exists on the uri, query, or headers, in this template.
header(String, String) - Method in class feign.Request
Add new entries to request Headers.
header(String, Collection<String>) - Method in class feign.Request
Add new entries to request Headers.
header(String, String...) - Method in class feign.RequestTemplate
 
header(String, Iterable<String>) - Method in class feign.RequestTemplate
Specify a Header, with the specified values.
HeaderMap - Annotation Type in feign
A template parameter that can be applied to a Map that contains header entries, where the keys are Strings that are the header field names and the values are the header field values.
headerMapIndex() - Method in class feign.MethodMetadata
 
headerMapIndex(Integer) - Method in class feign.MethodMetadata
 
Headers - Annotation Type in feign
Expands headers supplied in the value.
headers() - Method in class feign.Request
Request Headers.
headers(Map<String, Collection<String>>) - Method in class feign.RequestTemplate
Headers for this Request.
headers() - Method in class feign.RequestTemplate
Returns an copy of the Headers for this request.
headers(Map<String, Collection<String>>) - Method in class feign.Response.Builder
 
headers() - Method in class feign.Response
Returns a case-insensitive mapping of header names to their values.
headers(Map<String, Collection<String>>) - Method in class feign.TypedResponse.Builder
 
headers() - Method in class feign.TypedResponse
Returns a case-insensitive mapping of header names to their values.
HeaderTemplate - Class in feign.template
Template for HTTP Headers.
httpMethod() - Method in class feign.Request
Http Method for the request.

I

ignoreMethod() - Method in class feign.MethodMetadata
 
ignoreParamater(int) - Method in class feign.MethodMetadata
 
indexToEncoded() - Method in class feign.MethodMetadata
 
indexToExpander(Map<Integer, Param.Expander>) - Method in class feign.MethodMetadata
After MethodMetadata.indexToExpanderClass is populated, this is set by contracts that support runtime injection.
indexToExpander() - Method in class feign.MethodMetadata
When not null, this value will be used instead of MethodMetadata.indexToExpander().
indexToExpanderClass() - Method in class feign.MethodMetadata
If MethodMetadata.indexToExpander is null, classes here will be instantiated by newInstance.
indexToName() - Method in class feign.MethodMetadata
 
insert(int, CharSequence) - Method in class feign.RequestTemplate
instance() - Method in enum feign.QueryMap.MapEncoder
 
intercept(InvocationContext, ResponseInterceptor.Chain) - Method in class feign.RedirectionInterceptor
 
intercept(InvocationContext, ResponseInterceptor.Chain) - Method in interface feign.ResponseInterceptor
Called by ResponseHandler after refreshing the response and wrapped around the whole decode process, must either manually invoke ResponseInterceptor.Chain.next(InvocationContext) or manually create a new response object
internalBuild() - Method in class feign.AsyncFeign.AsyncBuilder
 
internalBuild() - Method in class feign.BaseBuilder
 
internalBuild() - Method in class feign.Feign.Builder
 
InternalServerError(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.InternalServerError
 
InvocationContext - Class in feign
 
invocationHandlerFactory(InvocationHandlerFactory) - Method in class feign.AsyncFeign.AsyncBuilder
 
invocationHandlerFactory - Variable in class feign.BaseBuilder
 
invocationHandlerFactory(InvocationHandlerFactory) - Method in class feign.BaseBuilder
Allows you to override how reflective dispatch works inside of Feign.
invocationHandlerFactory(InvocationHandlerFactory) - Method in class feign.Feign.Builder
 
InvocationHandlerFactory - Interface in feign
Controls reflective method dispatch.
InvocationHandlerFactory.Default - Class in feign
 
InvocationHandlerFactory.MethodHandler - Interface in feign
InvocationHandlerFactory.MethodHandler.Factory<C> - Interface in feign
 
invoke(Object, Capability, Class<?>) - Static method in interface feign.Capability
 
invoke(Object[]) - Method in interface feign.InvocationHandlerFactory.MethodHandler
 
isAbsolute(String) - Static method in class feign.template.UriUtils
Determines if the provided uri is an absolute uri.
isAlreadyProcessed(Integer) - Method in class feign.MethodMetadata
 
isBinary() - Method in class feign.Request.Body
 
isBinary() - Method in class feign.Request
 
isBlank(String) - Static method in class feign.Util
If the provided String is null or empty.
isDefault(Method) - Static method in class feign.Util
Identifies a method as a default instance method.
isEncoded(String, Charset) - Static method in class feign.template.UriUtils
Determines if the value is already pct-encoded.
isEncodingRequired() - Method in enum feign.template.Template.EncodingOptions
 
isFollowRedirects() - Method in class feign.Request.Options
Defaults to true.
isIgnored() - Method in class feign.MethodMetadata
 
isLiteral() - Method in class feign.template.Template
Flag to indicate that this template is a literal string, with no variable expressions.
isNotBlank(String) - Static method in class feign.Util
If the provided String is not null or empty.
ISO_8859_1 - Static variable in class feign.Util
ISO-8859-1: ISO Latin Alphabet Number 1 (ISO-LATIN-1).
isRepeatable() - Method in interface feign.Response.Body
True if Response.Body.asInputStream() and Response.Body.asReader() can be called more than once.
isStream(Type) - Static method in class feign.stream.StreamDecoder
 
isWithBody() - Method in enum feign.Request.HttpMethod
 

J

JavaLogger() - Constructor for class feign.Logger.JavaLogger
Deprecated.
Use JavaLogger(String) or JavaLogger(Class) instead. This constructor can be used to create just one logger. Example = Logger.JavaLogger().appendToFile("logs/first.log") If you create multiple loggers for multiple clients and provide different files to write log - you'll have unexpected behavior - all clients will write same log to each file. That's why this constructor will be removed in future.
JavaLogger(String) - Constructor for class feign.Logger.JavaLogger
Constructor for JavaLogger class
JavaLogger(Class<?>) - Constructor for class feign.Logger.JavaLogger
Constructor for JavaLogger class
join(String, Collection<String>, Charset) - Method in enum feign.CollectionFormat
Joins the field and possibly multiple values with the given separator.

L

length() - Method in class feign.Request.Body
 
length() - Method in class feign.Request
Request Length.
length() - Method in interface feign.Response.Body
length in bytes, if known.
literal(String, Iterable<String>) - Static method in class feign.template.HeaderTemplate
 
Literal - Class in feign.template
URI Template Literal.
log(String, String, Object...) - Method in class feign.Logger.ErrorLogger
 
log(String, String, Object...) - Method in class feign.Logger.JavaLogger
 
log(String, String, Object...) - Method in class feign.Logger
Override to log requests and responses using your own implementation.
log(String, String, Object...) - Method in class feign.Logger.NoOpLogger
 
logAndRebufferResponse(String, Logger.Level, Response, long) - Method in class feign.Logger.JavaLogger
 
logAndRebufferResponse(String, Logger.Level, Response, long) - Method in class feign.Logger
 
logAndRebufferResponse(String, Logger.Level, Response, long) - Method in class feign.Logger.NoOpLogger
 
logger(Logger) - Method in class feign.AsyncFeign.AsyncBuilder
 
logger - Variable in class feign.BaseBuilder
 
logger(Logger) - Method in class feign.BaseBuilder
 
logger(Logger) - Method in class feign.Feign.Builder
 
Logger - Class in feign
Simple logging abstraction for debug messages.
Logger() - Constructor for class feign.Logger
 
Logger.ErrorLogger - Class in feign
Logs to System.err.
Logger.JavaLogger - Class in feign
Logs to the category Logger at Level.FINE, if loggable.
Logger.Level - Enum in feign
Controls the level of logging.
Logger.NoOpLogger - Class in feign
 
logIOException(String, Logger.Level, IOException, long) - Method in class feign.Logger
 
logLevel(Logger.Level) - Method in class feign.AsyncFeign.AsyncBuilder
 
logLevel - Variable in class feign.BaseBuilder
 
logLevel(Logger.Level) - Method in class feign.BaseBuilder
 
logLevel(Logger.Level) - Method in class feign.Feign.Builder
 
logRequest(String, Logger.Level, Request) - Method in class feign.Logger.JavaLogger
 
logRequest(String, Logger.Level, Request) - Method in class feign.Logger
 
logRequest(String, Logger.Level, Request) - Method in class feign.Logger.NoOpLogger
 
logRetry(String, Logger.Level) - Method in class feign.Logger
 

M

map(Response, Type) - Method in interface feign.ResponseMapper
 
MAP_STRING_WILDCARD - Static variable in interface feign.codec.Encoder
Type literal for Map<String, ?>, indicating the object to encode is a form.
MAP_STRING_WILDCARD - Static variable in class feign.Util
Type literal for Map<String, ?>.
mapAndDecode(ResponseMapper, Decoder) - Method in class feign.AsyncFeign.AsyncBuilder
 
mapAndDecode(ResponseMapper, Decoder) - Method in class feign.BaseBuilder
Allows to map the response before passing it to the decoder.
mapAndDecode(ResponseMapper, Decoder) - Method in class feign.Feign.Builder
 
method(Method) - Method in class feign.MethodMetadata
 
method() - Method in class feign.MethodMetadata
 
method() - Method in class feign.Request
Deprecated.
method(String) - Method in class feign.RequestTemplate
Deprecated.
see RequestTemplate#method(HttpMethod)
method(Request.HttpMethod) - Method in class feign.RequestTemplate
Set the Http Method.
method() - Method in class feign.RequestTemplate
The Request Http Method.
method() - Method in exception feign.RetryableException
 
MethodInfo - Class in feign
 
MethodInfo(Type, boolean) - Constructor for class feign.MethodInfo
 
methodInfoResolver(MethodInfoResolver) - Method in class feign.AsyncFeign.AsyncBuilder
 
MethodInfoResolver - Interface in feign
 
MethodMetadata - Class in feign
 
methodMetadata(MethodMetadata) - Method in class feign.RequestTemplate
 
methodMetadata() - Method in class feign.RequestTemplate
 
MethodNotAllowed(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.MethodNotAllowed
 
methodTag(String) - Static method in class feign.Logger
 

N

name() - Method in class feign.Target.EmptyTarget
 
name() - Method in class feign.Target.HardCodedTarget
 
name() - Method in interface feign.Target
 
nameParam(MethodMetadata, String, int) - Method in class feign.Contract.BaseContract
links a parameter name to its index in the method signature.
NEVER_RETRY - Static variable in interface feign.Retryer
Implementation that never retries request.
newContext() - Method in interface feign.AsyncContextSupplier
 
newInstance(Target<T>) - Method in class feign.AsyncFeign
 
newInstance(Target<T>, C) - Method in class feign.AsyncFeign
 
newInstance(Target<T>) - Method in class feign.Feign
Returns a new instance of an HTTP API, defined by annotations in the Contract, for the specified target.
newInstance(Target<T>) - Method in class feign.ReflectiveFeign
creates an api binding to the target.
newInstance(Target<T>, C) - Method in class feign.ReflectiveFeign
 
next(InvocationContext) - Method in interface feign.ResponseInterceptor.Chain
Delegate to the rest of the chain to execute the request.
NoOpLogger() - Constructor for class feign.Logger.NoOpLogger
 
NotAcceptable(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.NotAcceptable
 
NotFound(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.NotFound
 
NotImplemented(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.NotImplemented
 

O

OptionalDecoder - Class in feign.optionals
 
OptionalDecoder(Decoder) - Constructor for class feign.optionals.OptionalDecoder
 
options(Request.Options) - Method in class feign.AsyncFeign.AsyncBuilder
 
options - Variable in class feign.BaseBuilder
 
options(Request.Options) - Method in class feign.BaseBuilder
 
options(Request.Options) - Method in class feign.Feign.Builder
 
Options(int, int, boolean) - Constructor for class feign.Request.Options
Options(long, TimeUnit, long, TimeUnit, boolean) - Constructor for class feign.Request.Options
Creates a new Options Instance.
Options(int, int) - Constructor for class feign.Request.Options
Options(Duration, Duration, boolean) - Constructor for class feign.Request.Options
Creates a new Options Instance.
Options() - Constructor for class feign.Request.Options
Creates the new Options instance using the following defaults: Connect Timeout: 10 seconds Read Timeout: 60 seconds Follow all 3xx redirects

P

Param - Annotation Type in feign
A named template parameter applied to Headers, RequestLine, Body, POJO fields or beans properties when it expanding
Param.Expander - Interface in feign
 
Param.ToStringExpander - Class in feign
 
parameterize(Class<?>, Type...) - Static method in class feign.Types
 
parameterToIgnore() - Method in class feign.MethodMetadata
 
parameterToIgnore(BitSet) - Method in class feign.MethodMetadata
 
parseAndValidateMetadata(Class<?>) - Method in class feign.Contract.BaseContract
 
parseAndValidateMetadata(Method) - Method in class feign.Contract.BaseContract
parseAndValidateMetadata(Class<?>, Method) - Method in class feign.Contract.BaseContract
parseAndValidateMetadata(Class<?>) - Method in interface feign.Contract
Called to parse the methods in the class that are linked to HTTP requests.
parseAndValidateMetadata(Class<?>) - Method in class feign.DeclarativeContract
 
path() - Method in class feign.RequestTemplate
The Uri Path.
PathStyleExpression(String, String) - Constructor for class feign.template.Expressions.PathStyleExpression
 
proceed() - Method in class feign.InvocationContext
 
process(E, MethodMetadata) - Method in interface feign.DeclarativeContract.AnnotationProcessor
 
process(E, MethodMetadata, int) - Method in interface feign.DeclarativeContract.ParameterAnnotationProcessor
 
processAnnotationOnClass(MethodMetadata, Class<?>) - Method in class feign.Contract.BaseContract
Called by parseAndValidateMetadata twice, first on the declaring class, then on the target type (unless they are the same).
processAnnotationOnClass(MethodMetadata, Class<?>) - Method in class feign.DeclarativeContract
Called by parseAndValidateMetadata twice, first on the declaring class, then on the target type (unless they are the same).
processAnnotationOnMethod(MethodMetadata, Annotation, Method) - Method in class feign.Contract.BaseContract
 
processAnnotationOnMethod(MethodMetadata, Annotation, Method) - Method in class feign.DeclarativeContract
 
processAnnotationsOnParameter(MethodMetadata, Annotation[], int) - Method in class feign.Contract.BaseContract
 
processAnnotationsOnParameter(MethodMetadata, Annotation[], int) - Method in class feign.DeclarativeContract
 
propagationPolicy - Variable in class feign.BaseBuilder
 
protocolVersion() - Method in class feign.Request
Request HTTP protocol version
protocolVersion(Request.ProtocolVersion) - Method in class feign.Response.Builder
HTTP protocol version
protocolVersion() - Method in class feign.Response
the HTTP protocol version
protocolVersion(Request.ProtocolVersion) - Method in class feign.TypedResponse.Builder
HTTP protocol version
protocolVersion() - Method in class feign.TypedResponse
the HTTP protocol version
Proxied(SSLSocketFactory, HostnameVerifier, Proxy) - Constructor for class feign.Client.Proxied
 
Proxied(SSLSocketFactory, HostnameVerifier, Proxy, String, String) - Constructor for class feign.Client.Proxied
 
PROXY_AUTHORIZATION - Static variable in class feign.Client.Proxied
 
Pseudo(Client) - Constructor for class feign.AsyncClient.Pseudo
 

Q

queries(Map<String, Collection<String>>) - Method in class feign.RequestTemplate
Sets the Query Parameters.
queries() - Method in class feign.RequestTemplate
Return an immutable Map of all Query Parameters and their values.
query(String, String...) - Method in class feign.RequestTemplate
 
query(String, Iterable<String>) - Method in class feign.RequestTemplate
Specify a Query String parameter, with the specified values.
query(String, Iterable<String>, CollectionFormat) - Method in class feign.RequestTemplate
Specify a Query String parameter, with the specified values.
queryLine() - Method in class feign.RequestTemplate
The Query String for the template.
QueryMap - Annotation Type in feign
A template parameter that can be applied to a Map that contains query parameters, where the keys are Strings that are the parameter names and the values are the parameter values.
QueryMap.MapEncoder - Enum in feign
 
queryMapEncoder(QueryMapEncoder) - Method in class feign.AsyncFeign.AsyncBuilder
 
queryMapEncoder - Variable in class feign.BaseBuilder
 
queryMapEncoder(QueryMapEncoder) - Method in class feign.BaseBuilder
 
queryMapEncoder(QueryMapEncoder) - Method in class feign.Feign.Builder
 
queryMapEncoder() - Method in class feign.MethodMetadata
 
queryMapEncoder(QueryMapEncoder) - Method in class feign.MethodMetadata
 
QueryMapEncoder - Interface in feign
A QueryMapEncoder encodes Objects into maps of query parameter names to values.
QueryMapEncoder.Default - Class in feign
Deprecated.
use BeanQueryMapEncoder instead. default encoder uses reflection to inspect provided objects Fields to expand the objects values into a query string. If you prefer that the query string be built using getter and setter methods, as defined in the Java Beans API, please use the BeanQueryMapEncoder
queryMapIndex() - Method in class feign.MethodMetadata
 
queryMapIndex(Integer) - Method in class feign.MethodMetadata
 
QueryTemplate - Class in feign.template
Template for a Query String parameter.

R

readTimeout() - Method in class feign.Request.Options
Read Timeout value.
readTimeoutMillis() - Method in class feign.Request.Options
Defaults to 60 seconds.
readTimeoutUnit() - Method in class feign.Request.Options
TimeUnit for the Read Timeout value.
reason(String) - Method in class feign.Response.Builder
 
reason() - Method in class feign.Response
Nullable and not set when using http/2 See https://github.com/http2/http2-spec/issues/202
reason(String) - Method in class feign.TypedResponse.Builder
 
reason() - Method in class feign.TypedResponse
Nullable and not set when using http/2 See https://github.com/http2/http2-spec/issues/202
RedirectionInterceptor - Class in feign
An implementation of ResponseInterceptor the returns the value of the location header when appropriate.
RedirectionInterceptor() - Constructor for class feign.RedirectionInterceptor
 
ReflectiveFeign<C> - Class in feign
 
registerClassAnnotation(Class<E>, DeclarativeContract.AnnotationProcessor<E>) - Method in class feign.DeclarativeContract
Called while class annotations are being processed
registerClassAnnotation(Predicate<E>, DeclarativeContract.AnnotationProcessor<E>) - Method in class feign.DeclarativeContract
Called while class annotations are being processed
registerMethodAnnotation(Class<E>, DeclarativeContract.AnnotationProcessor<E>) - Method in class feign.DeclarativeContract
Called while method annotations are being processed
registerMethodAnnotation(Predicate<E>, DeclarativeContract.AnnotationProcessor<E>) - Method in class feign.DeclarativeContract
Called while method annotations are being processed
registerParameterAnnotation(Class<E>, DeclarativeContract.ParameterAnnotationProcessor<E>) - Method in class feign.DeclarativeContract
Called while method parameter annotations are being processed
removeHeader(String) - Method in class feign.RequestTemplate
Clear on reader from RequestTemplate
removeValues(T[], Predicate<T>, Class<T>) - Static method in class feign.Util
Removes values from the array that meet the criteria for removal via the supplied Predicate value
request() - Method in exception feign.FeignException
 
Request - Class in feign
An immutable request to an http server.
request() - Method in class feign.RequestTemplate
Creates a Request from this template.
request(Request) - Method in class feign.Response.Builder
 
request() - Method in class feign.Response
the request that generated this response
request(Request) - Method in class feign.TypedResponse.Builder
 
request() - Method in class feign.TypedResponse
the request that generated this response
Request.Body - Class in feign
Request Body
Request.HttpMethod - Enum in feign
 
Request.Options - Class in feign
Controls the per-request settings currently required to be implemented by all clients
Request.ProtocolVersion - Enum in feign
 
requestBody() - Method in class feign.RequestTemplate
Deprecated.
this abstraction is leaky and will be removed in later releases.
requestCharset() - Method in class feign.RequestTemplate
Charset of the Request Body, if known.
requestInterceptor(RequestInterceptor) - Method in class feign.AsyncFeign.AsyncBuilder
 
requestInterceptor(RequestInterceptor) - Method in class feign.BaseBuilder
Adds a single request interceptor to the builder.
requestInterceptor(RequestInterceptor) - Method in class feign.Feign.Builder
 
RequestInterceptor - Interface in feign
Zero or more RequestInterceptors may be configured for purposes such as adding headers to all requests.
requestInterceptors(Iterable<RequestInterceptor>) - Method in class feign.AsyncFeign.AsyncBuilder
 
requestInterceptors - Variable in class feign.BaseBuilder
 
requestInterceptors(Iterable<RequestInterceptor>) - Method in class feign.BaseBuilder
Sets the full set of request interceptors for the builder, overwriting any previous interceptors.
requestInterceptors(Iterable<RequestInterceptor>) - Method in class feign.Feign.Builder
 
RequestLine - Annotation Type in feign
Expands the uri template supplied in the value, permitting path and query variables, or just the http method.
requestTemplate() - Method in class feign.Request
 
RequestTemplate - Class in feign
Request Builder for an HTTP Target.
RequestTemplate() - Constructor for class feign.RequestTemplate
Create a new Request Template.
RequestTemplate(RequestTemplate) - Constructor for class feign.RequestTemplate
Deprecated.
requestTemplate(RequestTemplate) - Method in class feign.Response.Builder
The Request Template used for the original request.
resolve(Class<?>, Method) - Method in interface feign.MethodInfoResolver
 
resolve(Map<String, ?>) - Method in class feign.RequestTemplate
Resolve all expressions using the variable value substitutions provided.
resolve(Type, Class<?>, Type) - Static method in class feign.Types
 
resolved() - Method in class feign.RequestTemplate
If this template has been resolved.
resolveExpression(Expression, Map<String, ?>) - Method in class feign.template.Template
 
resolveLastTypeParameter(Type, Class<?>) - Static method in class feign.Types
Resolves the last type parameter of the parameterized supertype, based on the genericContext, into its upper bounds.
resolveLastTypeParameter(Type, Class<?>) - Static method in class feign.Util
Deprecated.
resolveProtocolVersion(Request.ProtocolVersion) - Static method in class feign.Logger
 
resolveReturnType(Type, Type) - Static method in class feign.Types
 
response() - Method in class feign.InvocationContext
 
Response - Class in feign
An immutable response to an http invocation which only returns string content.
Response.Body - Interface in feign
 
Response.Builder - Class in feign
 
responseBody() - Method in exception feign.FeignException
The Response body.
ResponseHandler - Class in feign
The response handler that is used to provide synchronous support on top of standard response handling
ResponseHandler(Logger.Level, Logger, Decoder, ErrorDecoder, boolean, boolean, boolean, ResponseInterceptor.Chain) - Constructor for class feign.ResponseHandler
 
responseHeaders() - Method in exception feign.FeignException
 
responseInterceptor(ResponseInterceptor) - Method in class feign.BaseBuilder
Adds a single response interceptor to the builder.
ResponseInterceptor - Interface in feign
ResponseInterceptors may be configured for purposes such as verifying or modifying headers of response, verifying the business status of decoded object, or processing responses to unsuccessful requests.
ResponseInterceptor.Chain - Interface in feign
Contract for delegation to the rest of the chain.
responseInterceptorChain() - Method in class feign.BaseBuilder
 
responseInterceptors - Variable in class feign.BaseBuilder
 
responseInterceptors(Iterable<ResponseInterceptor>) - Method in class feign.BaseBuilder
Sets the full set of request interceptors for the builder, overwriting any previous interceptors.
ResponseMapper - Interface in feign
Map function to apply to the response before decoding it.
ResponseMappingDecoder(ResponseMapper, Decoder) - Constructor for class feign.Feign.ResponseMappingDecoder
 
RETRY_AFTER - Static variable in class feign.Util
The HTTP Retry-After header field name.
RetryableException - Exception in feign
This exception is raised when the Response is deemed to be retryable, typically via an ErrorDecoder when the status is 503.
RetryableException(int, String, Request.HttpMethod, Throwable, Long, Request) - Constructor for exception feign.RetryableException
 
RetryableException(int, String, Request.HttpMethod, Throwable, Date, Request) - Constructor for exception feign.RetryableException
Deprecated.
RetryableException(int, String, Request.HttpMethod, Long, Request) - Constructor for exception feign.RetryableException
 
RetryableException(int, String, Request.HttpMethod, Date, Request) - Constructor for exception feign.RetryableException
Deprecated.
RetryableException(int, String, Request.HttpMethod, Long, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.RetryableException
 
RetryableException(int, String, Request.HttpMethod, Date, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.RetryableException
Deprecated.
retryAfter() - Method in exception feign.RetryableException
Sometimes corresponds to the Util.RETRY_AFTER header present in 503 status.
retryer - Variable in class feign.BaseBuilder
 
retryer(Retryer) - Method in class feign.BaseBuilder
 
retryer(Retryer) - Method in class feign.Feign.Builder
 
Retryer - Interface in feign
Cloned for each invocation to Client.execute(Request, feign.Request.Options).
Retryer.Default - Class in feign
 
returnType() - Method in class feign.InvocationContext
 
returnType() - Method in class feign.MethodMetadata
 
returnType(Type) - Method in class feign.MethodMetadata
 

S

ServiceUnavailable(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.ServiceUnavailable
 
setMethodOptions(String, Request.Options) - Method in class feign.Request.Options
Set methodOptions by methodKey and options
shouldIgnoreParamater(int) - Method in class feign.MethodMetadata
 
shouldLogRequestHeader(String) - Method in class feign.Logger
Override to filter out request headers.
shouldLogResponseHeader(String) - Method in class feign.Logger
Override to filter out response headers.
status() - Method in exception feign.FeignException
 
status(int) - Method in class feign.Response.Builder
 
status() - Method in class feign.Response
status code.
status(int) - Method in class feign.TypedResponse.Builder
 
status() - Method in class feign.TypedResponse
status code.
StreamDecoder - Class in feign.stream
Iterator based decoder that support streaming.
StringDecoder - Class in feign.codec
 
StringDecoder() - Constructor for class feign.codec.StringDecoder
 

T

target(Class<T>, String) - Method in class feign.AsyncFeign.AsyncBuilder
 
target(Class<T>, String, C) - Method in class feign.AsyncFeign.AsyncBuilder
 
target(Target<T>) - Method in class feign.AsyncFeign.AsyncBuilder
 
target(Target<T>, C) - Method in class feign.AsyncFeign.AsyncBuilder
 
target(Class<T>, String) - Method in class feign.Feign.Builder
 
target(Target<T>) - Method in class feign.Feign.Builder
 
target(String) - Method in class feign.RequestTemplate
Set the target host for this request.
Target<T> - Interface in feign


relationship to JAXRS 2.0

Similar to javax.ws.rs.client.WebTarget, as it produces requests.
Target.EmptyTarget<T> - Class in feign
 
Target.HardCodedTarget<T> - Class in feign
 
targetType(Class<?>) - Method in class feign.MethodMetadata
 
targetType() - Method in class feign.MethodMetadata
 
template() - Method in class feign.MethodMetadata
 
Template - Class in feign.template
A Generic representation of a Template Expression as defined by RFC 6570, with some relaxed rules, allowing the concept to be used in areas outside of the uri.
Template.EncodingOptions - Enum in feign.template
 
Template.ExpansionOptions - Enum in feign.template
 
TemplateChunk - Interface in feign.template
Represents the parts of a URI Template.
toArray(Iterable<? extends T>, Class<T>) - Static method in class feign.Util
Adapted from com.google.common.base.Strings#emptyToNull.
toBuilder() - Method in class feign.Response
 
toByteArray(InputStream) - Static method in class feign.Util
Adapted from com.google.common.io.ByteStreams.toByteArray().
TooManyRequests(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.TooManyRequests
 
toString() - Method in enum feign.Request.ProtocolVersion
 
toString() - Method in class feign.Request
Request as an HTTP/1.1 request.
toString() - Method in class feign.RequestTemplate
 
toString() - Method in class feign.Response
 
toString() - Method in class feign.Target.EmptyTarget
 
toString() - Method in class feign.Target.HardCodedTarget
 
toString() - Method in class feign.template.QueryTemplate
 
toString() - Method in class feign.template.Template
 
toString() - Method in class feign.TypedResponse
 
toString(Reader) - Static method in class feign.Util
Adapted from com.google.common.io.CharStreams.toString().
ToStringExpander() - Constructor for class feign.Param.ToStringExpander
 
type() - Method in class feign.Target.EmptyTarget
 
type() - Method in class feign.Target.HardCodedTarget
 
type() - Method in interface feign.Target
 
TypedResponse<T> - Class in feign
 
TypedResponse.Builder<T> - Class in feign
 
Types - Class in feign
Static methods for working with types.

U

Unauthorized(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.Unauthorized
 
UnprocessableEntity(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.UnprocessableEntity
 
UnsupportedMediaType(String, Request, byte[], Map<String, Collection<String>>) - Constructor for exception feign.FeignException.UnsupportedMediaType
 
uri(String) - Method in class feign.RequestTemplate
Set the Uri for the request, replacing the existing uri if set.
uri(String, boolean) - Method in class feign.RequestTemplate
Set the uri for the request.
UriTemplate - Class in feign.template
URI Template, as defined by RFC 6570, supporting Level 1 expressions, with the following differences: unresolved variables are preserved as literals all literals are pct-encoded
UriUtils - Class in feign.template
 
UriUtils() - Constructor for class feign.template.UriUtils
 
url() - Method in class feign.Request
URL for the request.
url() - Method in class feign.RequestTemplate
The URL for the request.
url() - Method in class feign.Target.EmptyTarget
 
url() - Method in class feign.Target.HardCodedTarget
 
url() - Method in interface feign.Target
 
urlIndex() - Method in class feign.MethodMetadata
 
urlIndex(Integer) - Method in class feign.MethodMetadata
 
UTF_8 - Static variable in class feign.Util
UTF-8: eight-bit UCS Transformation Format.
Util - Class in feign
Utilities, typically copied in from guava, so as to avoid dependency conflicts.

V

valueOf(String) - Static method in enum feign.CollectionFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum feign.ExceptionPropagationPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum feign.Logger.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum feign.QueryMap.MapEncoder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum feign.Request.HttpMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum feign.Request.ProtocolVersion
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum feign.template.Template.EncodingOptions
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum feign.template.Template.ExpansionOptions
Returns the enum constant of this type with the specified name.
values() - Static method in enum feign.CollectionFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum feign.ExceptionPropagationPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum feign.Logger.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum feign.QueryMap.MapEncoder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum feign.Request.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum feign.Request.ProtocolVersion
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum feign.template.Template.EncodingOptions
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum feign.template.Template.ExpansionOptions
Returns an array containing the constants of this enum type, in the order they are declared.
valuesOrEmpty(Map<String, Collection<T>>, String) - Static method in class feign.Util
Returns an unmodifiable collection which may be empty, but is never null.
variables() - Method in class feign.RequestTemplate
List all of the template variable expressions for this template.

W

warnings() - Method in class feign.MethodMetadata
 
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2012–2023 OpenFeign. All rights reserved.