@RequestScoped public class ApplicationConfiguration extends Object implements Configuration
Modifier | Constructor and Description |
---|---|
protected |
ApplicationConfiguration()
Deprecated.
CDI eyes only
|
|
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. |
protected ApplicationConfiguration()
@Inject public ApplicationConfiguration(javax.servlet.http.HttpServletRequest request)
public String getApplicationPath()
getApplicationPath
in interface Configuration
Copyright © 2014 Caelum. All rights reserved.