server怎么读

Microserver 是一个零配置的库,用来运行 Java REST 微服务,通过 Java 标准 main 类执行。从 2014 年开始就一直在 AOL 生产环境中使用。 框架结构: main 类: public class AppRunnerTest { public static void main(String[] args) throws InterruptedException { new MicroserverApp(() -> "test-app").run(); } } 服务类: @Rest @Path("/status") public class StatusResource { @GET @Produces("text/plain") @Path("/pi...

加载中
加载中

{{o.href}}

{{o.content | formatHtml}}

{{o.author.name}}
{{o.pubDate | formatDate}}
{{parseInt(o.viewCount) | bigNumberTransform}}

暂无相关内容

返回顶部
顶部