Package org.apache.flink.runtime.net
Class RedirectingSslHandler
- java.lang.Object
-
- org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerAdapter
-
- org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandlerAdapter
-
- org.apache.flink.shaded.netty4.io.netty.handler.codec.ByteToMessageDecoder
-
- org.apache.flink.runtime.net.RedirectingSslHandler
-
- All Implemented Interfaces:
org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandler,org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandler
public class RedirectingSslHandler extends org.apache.flink.shaded.netty4.io.netty.handler.codec.ByteToMessageDecoderSSL handler which automatically redirects Non-SSL requests to SSL address.
-
-
Constructor Summary
Constructors Constructor Description RedirectingSslHandler(String confRedirectHost, CompletableFuture<String> redirectBaseUrl, SSLHandlerFactory sslHandlerFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddecode(org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerContext context, org.apache.flink.shaded.netty4.io.netty.buffer.ByteBuf in, List<Object> out)-
Methods inherited from class org.apache.flink.shaded.netty4.io.netty.handler.codec.ByteToMessageDecoder
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
-
Methods inherited from class org.apache.flink.shaded.netty4.io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
-
Methods inherited from class org.apache.flink.shaded.netty4.io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, isSharable
-
-
-
-
Constructor Detail
-
RedirectingSslHandler
public RedirectingSslHandler(@Nonnull String confRedirectHost, @Nonnull CompletableFuture<String> redirectBaseUrl, @Nonnull SSLHandlerFactory sslHandlerFactory)
-
-