Class HandlerRedirectUtils
java.lang.Object
org.apache.flink.runtime.rest.handler.util.HandlerRedirectUtils
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponsegetRedirectResponse(String redirectAddress, String path, org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus code) static org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponsegetResponse(org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus status, String message)
-
Field Details
-
ENCODING
-
-
Constructor Details
-
HandlerRedirectUtils
public HandlerRedirectUtils()
-
-
Method Details
-
getRedirectResponse
-
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)
-