Commit fe06370a by Jin Zhang Committed by Spencer Gibb

correct comments in FeignClient, SendResponseFilter, RibbonRoutingFilter (#1935)

parent a1b1a7d7
......@@ -107,7 +107,7 @@ public @interface FeignClient {
String path() default "";
/**
* Whether to mark the feign proxy as a primary bean. Defaults to false.
* Whether to mark the feign proxy as a primary bean. Defaults to true.
*/
boolean primary() default true;
......
......@@ -71,7 +71,7 @@ public class SendResponseFilter extends ZuulFilter {
public SendResponseFilter() {
super();
// To support Servlet API 3.0.1 we need to check if setcontentLengthLong exists
// To support Servlet API 3.1 we need to check if setContentLengthLong exists
try {
HttpServletResponse.class.getMethod("setContentLengthLong");
} catch(NoSuchMethodException e) {
......
......@@ -68,7 +68,7 @@ public class RibbonRoutingFilter extends ZuulFilter {
this.helper = helper;
this.ribbonCommandFactory = ribbonCommandFactory;
this.requestCustomizers = requestCustomizers;
// To support Servlet API 3.0.1 we need to check if getcontentLengthLong exists
// To support Servlet API 3.1 we need to check if getContentLengthLong exists
try {
HttpServletRequest.class.getMethod("getContentLengthLong");
} catch(NoSuchMethodException e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment