Java Code Examples for feign.codec.Encoder#Default

The following examples show how to use feign.codec.Encoder#Default . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FeignClientOverrideDefaultsTests.java    From spring-cloud-openfeign with Apache License 2.0 4 votes vote down vote up
@Bean
public Encoder feignEncoder() {
	return new Encoder.Default();
}
 
Example 2
Source File: SpringFormEncoder.java    From feign-form with Apache License 2.0 4 votes vote down vote up
/**
 * Constructor with the default Feign's encoder as a delegate.
 */
public SpringFormEncoder () {
  this(new Encoder.Default());
}
 
Example 3
Source File: FormEncoder.java    From feign-form with Apache License 2.0 4 votes vote down vote up
/**
 * Constructor with the default Feign's encoder as a delegate.
 */
public FormEncoder () {
  this(new Encoder.Default());
}