[英]JAX-RS hostname change possible?
I'm currently developing a REST web service using JAX-RS. 我目前正在使用JAX-RS开发REST Web服务。
Can I change the host name which is currently "local host 8080"? 我可以更改当前为“本地主机8080”的主机名吗? Also, can I use https?
另外,我可以使用https吗?
I want the name to represent an API host like twitter "" https://api.twitter.com " or is this possible? 我希望该名称代表一个API主机,例如twitter“” https://api.twitter.com “,或者这可能吗?
JAX-RS uses only a subset of the URI path for matching requests (the part relative to your application context). JAX-RS仅使用URI路径的子集来匹配请求(相对于应用程序上下文的部分)。 Changes to the domain and schema (http/https) should not make a difference.
域和架构(http / https)的更改应该没有什么不同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.