类 LogFileMvcEndpoint

  • 所有已实现的接口:
    org.springframework.beans.factory.Aware, MvcEndpoint, NamedMvcEndpoint, org.springframework.context.EnvironmentAware, org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    @ConfigurationProperties(prefix="endpoints.logfile")
    public class LogFileMvcEndpoint
    extends AbstractNamedMvcEndpoint
    Controller that provides an API for logfiles, i.e. downloading the main logfile configured in environment property 'logging.file' that is standard, but optional property for spring-boot applications.
    从以下版本开始:
    1.3.0
    • 方法详细资料

      • invoke

        @RequestMapping(method={GET,HEAD})
        public void invoke​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws javax.servlet.ServletException,
                           IOException
        抛出:
        javax.servlet.ServletException
        IOException