yl09099 commented on code in PR #1965:
URL:
https://github.com/apache/incubator-uniffle/pull/1965#discussion_r1692569804
##########
dashboard/src/main/java/org/apache/uniffle/dashboard/web/proxy/WebProxyServlet.java:
##########
@@ -22,16 +22,22 @@
import javax.servlet.http.HttpServletResponse;
import com.google.common.base.Preconditions;
-import org.eclipse.jetty.client.api.Request;
-import org.eclipse.jetty.client.api.Response;
+import org.eclipse.jetty.http.HttpStatus;
import org.eclipse.jetty.proxy.ProxyServlet;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class WebProxyServlet extends ProxyServlet {
private static final Logger LOG =
LoggerFactory.getLogger(WebProxyServlet.class);
+ /** The key of the request header. */
+ private static final String TARGETADDRESS = "targetAddress";
+ private static final String REQUESTSERVERTYPE = "requestServerType";
+ /** The value of the request header. */
+ private static final String COORDINATOR = "coordinator";
+
+ private static final String SERVER = "server";
Review Comment:
> REQUEST_SERVER_TYPE_SERVER
done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]