|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.wurfl.core.DefaultWURFLManager
public class DefaultWURFLManager
This is the default WURFLManager implementation.
| Constructor Summary | |
|---|---|
DefaultWURFLManager(WURFLService service)
This constructor build a WURFLManagerImpl from a WURFLService instance using DefaultWURFLRequestFactory as WURFLRequestFactory. |
|
DefaultWURFLManager(WURFLService service,
WURFLRequestFactory requestFactory)
This constructor build a WURFLManagerImpl from a WURFLService instance and WURFLRequestFactory instance. |
|
| Method Summary | |
|---|---|
Device |
getDeviceForRequest(javax.servlet.http.HttpServletRequest request)
Return a Device instance from HttpServletRequest instance. |
Device |
getDeviceForRequest(String userAgent)
Return a Device instance from user-agent String. |
Device |
getDeviceForRequest(WURFLRequest request)
Return a Device instance from WURFLRequest instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultWURFLManager(WURFLService service,
WURFLRequestFactory requestFactory)
service - The service used to match WURFLRequestrequestFactory - The WURFLRequestFactory used to create WURFLRequestpublic DefaultWURFLManager(WURFLService service)
service - The service used to match WURFLRequest| Method Detail |
|---|
public Device getDeviceForRequest(javax.servlet.http.HttpServletRequest request)
getDeviceForRequest in interface WURFLManagerrequest - The HttpServletRequest to match.public Device getDeviceForRequest(WURFLRequest request)
This method skip the use of WURFLRequestFactory.
getDeviceForRequest in interface WURFLManagerrequest - The WURFLRequest to match.public Device getDeviceForRequest(String userAgent)
This method uses WURFLRequestFactory.createRequest(String).
getDeviceForRequest in interface WURFLManageruserAgent - The user-agent String to match.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||