BAEL-2715: Added code samples for Netty server configuration
This commit is contained in:
parent
b7cc946a32
commit
24c5be0e4f
@ -34,4 +34,4 @@ public class GreetingWebClient {
|
|||||||
.baseUrl("https://localhost:8443")
|
.baseUrl("https://localhost:8443")
|
||||||
.clientConnector(new ReactorClientHttpConnector(httpClient)).build();
|
.clientConnector(new ReactorClientHttpConnector(httpClient)).build();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -28,4 +28,3 @@ public class NettyWebServerFactoryPortCustomizer implements WebServerFactoryCust
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,4 +20,3 @@ public class NettyWebServerFactorySslCustomizer implements WebServerFactoryCusto
|
|||||||
serverFactory.setPort(8443);
|
serverFactory.setPort(8443);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,4 +28,4 @@
|
|||||||
<root level="info">
|
<root level="info">
|
||||||
<appender-ref ref="Console"/>
|
<appender-ref ref="Console"/>
|
||||||
</root>
|
</root>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -38,4 +38,4 @@ public class GreetingControllerIntegrationTest {
|
|||||||
.expectBody(String.class)
|
.expectBody(String.class)
|
||||||
.isEqualTo("Hello baeldung");
|
.isEqualTo("Hello baeldung");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,4 +10,4 @@
|
|||||||
<root level="info">
|
<root level="info">
|
||||||
<appender-ref ref="Console"/>
|
<appender-ref ref="Console"/>
|
||||||
</root>
|
</root>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user