Format with Eclipse Oxygen SR2
This commit is contained in:
@@ -49,12 +49,13 @@ public class TomcatLegacyCookieProcessorExample {
|
||||
((TomcatEmbeddedServletContainerFactory) container)
|
||||
.addContextCustomizers(new TomcatContextCustomizer() {
|
||||
|
||||
@Override
|
||||
public void customize(Context context) {
|
||||
context.setCookieProcessor(new LegacyCookieProcessor());
|
||||
}
|
||||
@Override
|
||||
public void customize(Context context) {
|
||||
context.setCookieProcessor(
|
||||
new LegacyCookieProcessor());
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ public class RestTemplateProxyCustomizationExample {
|
||||
@Override
|
||||
public HttpHost determineProxy(HttpHost target,
|
||||
HttpRequest request, HttpContext context)
|
||||
throws HttpException {
|
||||
throws HttpException {
|
||||
if (target.getHostName().equals("192.168.0.5")) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user