[FLINK-7532] Add web content handler to DispatcherRestEndpoint
Adds the StaticFileContentHandler to the DispatcherRestEndpoint if the flink-runtime-web dependency is in the classpath. In order to setup the respective channel handler, this commit introduces the setupChannelHandlers method to the RestServerEndpoint. Refactor RestServerEndpoint#initializeHandler to support StaticFileServerHandler registration This closes #4601.
Showing
想要评论请 注册 或 登录