类 ApplicationUriPrinter
java.lang.Object
org.ssssssss.magicapi.spring.boot.starter.ApplicationUriPrinter
- 所有已实现的接口:
org.springframework.boot.CommandLineRunner
@Component
@ConditionalOnProperty(name="magic-api.show-url",
havingValue="true",
matchIfMissing=true)
@Order
public class ApplicationUriPrinter
extends Object
implements org.springframework.boot.CommandLineRunner
输出服务访问地址
- 从以下版本开始:
- 1.2.1
- 作者:
- 冰点
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
port
@Value("${server.port:8080}") private int port -
contextPath
-
properties
-
-
构造器详细资料
-
ApplicationUriPrinter
public ApplicationUriPrinter()
-
-
方法详细资料
-
run
- 指定者:
run在接口中org.springframework.boot.CommandLineRunner- 抛出:
Exception
-