@Component @RequestScoped public class ApplicationConfiguration extends Object implements Configuration
| Constructor and Description |
|---|
ApplicationConfiguration(javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
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 String getApplicationPath()
getApplicationPath in interface ConfigurationCopyright © 2014 Caelum. All Rights Reserved.