web-services - 如何在 Tomcat 中查看所有有效的 URL?

标签 web-services tomcat jax-rs

我正在使用 Maven、IntelliJ、Jersey(Jax-RS) 开发一个 Web 应用程序,它可以在 Tomcat 服务器上运行。我只是想知道,我们可以看到所有有效 URL 的列表吗?我的意思是有没有我们可以在命令屏幕上写的命令或其他东西来查看?问候,

最佳答案

感谢 Stefan 上面的评论,我找到了 Swigger 来记录我的网络应用程序。根据here ,招摇是:

What is Swagger? The goal of Swagger™ is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined via Swagger, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interfaces have done for lower-level programming, Swagger removes the guesswork in calling the service.

希望对大家有所帮助。

关于web-services - 如何在 Tomcat 中查看所有有效的 URL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48486577/

相关文章:

java - Spring/Jboss - 当前请求不是多部分请求

java - 如何在 JAX-RS 中自定义关系 OneToMany 的 JSON 输出

java - XML Pull 解析器异常 - kSOAP2

tomcat - 错误 404/资源在带有 Tomcat 7 的 Eclipse EE Kepler 中不可用

java - Apache CXF Web 服务上的 SOAP 命名空间问题

PHP Curl 不适用于端口 8080

java - RESTEasy - @Path 需要完整路径吗?

java - JBoss6 与 REST 客户端 (jersey-client)

c# - 如何绕过 .NET DLL 服务引用要求

android - Retrofit2:应为 BEGIN_ARRAY 但在第 1 行第 268 列路径 $[0].images 处为 STRING