liubao68 edited a comment on issue #1759: URL: https://github.com/apache/servicecomb-java-chassis/issues/1759#issuecomment-630115624
和早期的一些 REST 框架基于 web 不同(jsp/servlet), java-chassis的REST可能不基于web, 应用开发没有暴露过多的 HTTP 协议相关的操作。 和 HTTP 协议相关的操作, 少量的可以通过返回特定的状态码和http header实现, 其他的一些场景,可以通过扩展 HttpServerFilter 实现。 如果应用系统是运行于 web (jsp/servlet),也可以采用 Filter 来拦截请求。 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
