다양한 ChannelHandler와 코덱
SSL/TLS
public class SslChannelInitializer extends ChannelInitializer<Channel> {
private final SslContext context;
private final boolean startTls;
public SslChannelInitializer(SslContext context,
boolean startTls) {
this.context = context;
this.startTls = startTls;
}
@Override
protected void initChannel(Channel ch) throws Exception {
SSLEngine engine = context.newEngine(ch.alloc());
ch.pipeline().addFirst("ssl",
new SslHandler(engine, startTls));
}
} HTTP/HTTPS
메시지 구성
파이프라인 적용
HTTP 메시지 집계
HTTP 압축
HTTPS 지원
유휴 연결과 시간 만료
IdleStateHandler
ReadTimeoutHandler
WriteTimeoutHandler
구분 기호 기반 프로토콜 디코딩
구분 기호 기반 프로토콜
디코더 종류
길이 기반 프로토콜 디코딩
대용량 데이터 기록
데이터 직렬화
JDK 기본 직렬화
JBoss 마셜링 직렬화
프로토콜 버퍼 직렬화
Last updated