public class RelWebPathToAbsoluteTransformer extends Object implements Supplier<String>, FunctionTransformer<String,String>, IOnApplicationStartup
| Constructor and Description |
|---|
RelWebPathToAbsoluteTransformer() |
RelWebPathToAbsoluteTransformer(RelWebPathToAbsoluteTransformer proxy) |
| Modifier and Type | Method and Description |
|---|---|
String |
get() |
String |
getBaseWebAbsolutePath() |
String |
getRelPath()
Optional
If not null will append this to the baseWebAbsolutePath |
void |
initEnd(org.springframework.context.ApplicationContext appContext,
javax.servlet.ServletContext servletContext)
Initialize immediately prior to the default initialization activities in the
SiteApplicationThe method is provided with any context information it may need like Spring Context of the Application & the Servlet Context. |
void |
initStart(org.springframework.context.ApplicationContext appContext,
javax.servlet.ServletContext servletContext)
Initialize immediately prior to the default initialization activities in the
SiteApplicationThe method is provided with any context information it may need like Spring Context of the Application & the Servlet Context. |
void |
setBaseWebAbsolutePath(String baseWebAbsolutePath) |
void |
setRelPath(String relPath)
Optional
If not null will append this to the baseWebAbsolutePath |
Object |
transform(Object input) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplypublic RelWebPathToAbsoluteTransformer()
public RelWebPathToAbsoluteTransformer(RelWebPathToAbsoluteTransformer proxy)
public Object transform(Object input)
transform in interface org.apache.commons.collections.Transformerpublic void initStart(org.springframework.context.ApplicationContext appContext,
javax.servlet.ServletContext servletContext)
throws Exception
IOnApplicationStartupSiteApplicationinitStart in interface IOnApplicationStartupappContext - as ApplicationContextException - (checked Exceptions will be trapped and logged but will not interfere with Application startup, however RuntimeExceptions can disrupt startup routine)public void initEnd(org.springframework.context.ApplicationContext appContext,
javax.servlet.ServletContext servletContext)
throws Exception
IOnApplicationStartupSiteApplicationinitEnd in interface IOnApplicationStartupException - (checked Exceptions will be trapped and logged but will not interfere with Application startup, however RuntimeExceptions can disrupt startup routine)public String getRelPath()
baseWebAbsolutePathpublic void setRelPath(String relPath)
baseWebAbsolutePathpublic String getBaseWebAbsolutePath()
public void setBaseWebAbsolutePath(String baseWebAbsolutePath)
Copyright © 2018. All rights reserved.