@ -135,6 +135,7 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@@ -135,6 +135,7 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
privateList<ViewResolver>viewResolvers;
publicvoidsetOrder(intorder){
this.order=order;
}
@ -312,7 +313,8 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@@ -312,7 +313,8 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
}
if(this.defaultContentType!=null){
if(logger.isDebugEnabled()){
logger.debug("Requested media types is "+defaultContentType+" (based on defaultContentType property)");
logger.debug("Requested media types is "+this.defaultContentType+
@ -323,9 +325,9 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@@ -323,9 +325,9 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@ -337,7 +339,7 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@@ -337,7 +339,7 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@ -361,18 +363,14 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@@ -361,18 +363,14 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
logger.debug("No acceptable view found; returning 406 (Not Acceptable) status code");
}
@ -389,8 +387,8 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@@ -389,8 +387,8 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@ -408,7 +406,6 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@@ -408,7 +406,6 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
}
}
if(!CollectionUtils.isEmpty(this.defaultViews)){
candidateViews.addAll(this.defaultViews);
}
@ -452,6 +449,7 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@@ -452,6 +449,7 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
}
/**
*Innerclasstoavoidhard-codedJAFdependency.
*/
@ -501,6 +499,7 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@@ -501,6 +499,7 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@ -512,4 +511,5 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@@ -512,4 +511,5 @@ public class ContentNegotiatingViewResolver extends WebApplicationObjectSupport
@ -261,7 +261,7 @@ public class RedirectView extends AbstractUrlBasedView {
@@ -261,7 +261,7 @@ public class RedirectView extends AbstractUrlBasedView {
@ -398,14 +398,18 @@ public class RedirectView extends AbstractUrlBasedView {
@@ -398,14 +398,18 @@ public class RedirectView extends AbstractUrlBasedView {