@Component @RequestScoped public class ApplicationConfiguration extends java.lang.Object implements Configuration
| Constructor and Description |
|---|
ApplicationConfiguration(javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApplicationPath()
Returns the application path, including the http protocol.
One can implement this method to return a fixed http/ip prefix. |
public ApplicationConfiguration(javax.servlet.http.HttpServletRequest request)
public java.lang.String getApplicationPath()
getApplicationPath in interface ConfigurationCopyright © 2013 Caelum. All Rights Reserved.