Releases: Halfmoonly/feignx-plugin
adapted to light theme
feignx is adapted Light theme, also, Dark、Darcula、IntelliJ Light、Windows 10 Light,and high-contrast in latest intellij idea
this below is offline installation package
feignx-4.1.1.zip
Modify logo
latest plugin is below:
feignx-4.0.1.zip
adapted properties/yml/yaml of 1.server.servlet.context-path and 2.spring.mvc.servlet.path
- 离线插件包:feignx-4.0.0.zip
在 Spring Boot 出现之前,Dispatcher Servlet 是在 web.xml 文件中声明的,如下图
<web-app>
<servlet>
<servlet-name>example</servlet-name>
<servlet class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<load-on-startup>1</load -on-startup>
</servlet>
<servlet-mapping>
<servlet-name>test</servlet-name>
<url-pattern>*.test</url-pattern>
</servlet-mapping>
</web-app>
这个DispatcherServlet是实际的Servlet,它继承自基类HttpServlet。
在 Spring Boot 出现之后,spring-boot-starter-web starter 自动装配机制将DispatcherServlet默认配置为 URL 模式“/”。
但是,如果需要,我们可以使用自定义 URL 模式。application.properties文件中如下
server.servlet.context-path=/hello
spring.mvc.servlet.path=/world
通过上面的配置,DispatcherServlet被配置为处理 URL 模式/world,并且springboot根上下文路径将是/hello。因此,DispatcherServlet监听http://ip:port/hello/world
,as prefix path by @FeignClient,the sample is below
@FeignClient(path = "/hello/world",value = "cloud-feign-server", contextId = "user", configuration = UserConfiguration.class)
public interface UserClient {
@GetMapping(value = "/user/get/{id}")
User getUserById(@PathVariable("id") Long id);
}
yml/yaml配置同上。
Design a unique logo
Major Feature Fix
[fix]🐞 Major version fix , fix the bug that cannot dynamically detect new interfaces due to cache
Please update to this version as soon as possible!
Adapted To Latest IDEA
- Adapt to the latest IDEA2024.1 and Newer
- fix bugs