Class HandlerRedirectUtils


  • public class HandlerRedirectUtils
    extends Object
    Utilities to extract a redirect address.

    This is necessary at the moment, because many execution graph structures are not serializable. The proper solution here is to have these serializable and transparently work with the leading job manager instead of redirecting.

    • Field Detail

      • ENCODING

        public static final Charset ENCODING
    • Constructor Detail

      • HandlerRedirectUtils

        public HandlerRedirectUtils()
    • Method Detail

      • getRedirectResponse

        public static org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponse getRedirectResponse​(String redirectAddress,
                                                                                                                  String path,
                                                                                                                  org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus code)
      • getResponse

        public static org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponse getResponse​(org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus status,
                                                                                                          @Nullable
                                                                                                          String message)