@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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setExternalFile(File externalFile) |
getName
getEndpointType, getEnvironment, getPath, isEnabled, isSensitive, setEnabled, setEnvironment, setPath, setSensitive
addArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpointType, getPath, isSensitive
public File getExternalFile()
public void setExternalFile(File externalFile)
@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
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.