mirror of
https://github.com/tiennm99/tjahzi.git
synced 2026-10-14 20:17:49 +00:00
Re #9: Cleanup.
This commit is contained in:
1 parent
b2d5d1e0d4
commit
cdc1cf3ead
2 files changed
+2
-5
No files matched your search
-2
@@ -3,14 +3,12 @@ package pl.tkowalcz.tjahzi.log4j2;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.core.LoggerContext;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.testcontainers.junit.jupiter.Testcontainers;
|
||||
|
||||
import java.net.URI;
|
||||
import java.net.URISyntaxException;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@Testcontainers
|
||||
class BufferSizeConfigurationTest {
|
||||
|
||||
@Test
|
||||
|
||||
@@ -14,16 +14,15 @@ class ResponseHandler extends SimpleChannelInboundHandler<FullHttpResponse> {
|
||||
|
||||
@Override
|
||||
protected void channelRead0(ChannelHandlerContext ctx, FullHttpResponse msg) {
|
||||
System.out.println("msg = " + msg);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
|
||||
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
|
||||
System.out.println("cause = " + cause);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void channelInactive(ChannelHandlerContext ctx) throws Exception {
|
||||
public void channelInactive(ChannelHandlerContext ctx) {
|
||||
System.out.println("ResponseHandler.channelInactive");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user