Class WebMvcBasePathAndHostnameTransformationFilter
- java.lang.Object
-
- springfox.documentation.swagger2.web.WebMvcBasePathAndHostnameTransformationFilter
-
- All Implemented Interfaces:
org.springframework.plugin.core.Plugin<DocumentationType>
,SwaggerTransformationFilter<javax.servlet.http.HttpServletRequest>
,WebMvcSwaggerTransformationFilter
@Order(-2147483648) public class WebMvcBasePathAndHostnameTransformationFilter extends java.lang.Object implements WebMvcSwaggerTransformationFilter
-
-
Constructor Summary
Constructors Constructor Description WebMvcBasePathAndHostnameTransformationFilter(org.springframework.core.env.Environment env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
supports(DocumentationType delimiter)
io.swagger.models.Swagger
transform(SwaggerTransformationContext<javax.servlet.http.HttpServletRequest> context)
-
-
-
Method Detail
-
transform
public io.swagger.models.Swagger transform(SwaggerTransformationContext<javax.servlet.http.HttpServletRequest> context)
- Specified by:
transform
in interfaceSwaggerTransformationFilter<javax.servlet.http.HttpServletRequest>
-
supports
public boolean supports(DocumentationType delimiter)
- Specified by:
supports
in interfaceorg.springframework.plugin.core.Plugin<DocumentationType>
-
-