@ConfigurationProperties(prefix="endpoints.logfile") public class LogFileMvcEndpoint extends AbstractNamedMvcEndpoint
DISABLED_RESPONSE
Constructor and Description |
---|
LogFileMvcEndpoint() |
Modifier and Type | Method and Description |
---|---|
File |
getExternalFile() |
void |
invoke(HttpServletRequest request,
HttpServletResponse response) |
void |
setExternalFile(File externalFile) |
getName
getEndpointType, getEnvironment, getPath, isEnabled, isSensitive, setEnabled, setEnvironment, setPath, setSensitive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpointType, getPath, isSensitive
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
public File getExternalFile()
public void setExternalFile(File externalFile)
@RequestMapping(method={GET,HEAD}) public void invoke(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
ServletException
IOException
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.