|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Classes implementing this interface look at information in the supplied HttpServeltRequest object and use that to categorize or "classify" the request originator's client into a predefined category. This is useful for customizing content delivery and look-and-feel for different browsers and / or devices.
| Field Summary | |
static String |
UNCLASSIFIED
|
| Method Summary | |
String |
getClassificationConfigurationFilePath(HttpServletRequest req)
Returns the path to the client classification configuration file used for the specified ServletRequest, if possible. |
String |
getClientClassification(HttpServletRequest req)
Derives the client classification label based on information passed with the request. |
boolean |
isDefault(HttpServletRequest req)
Determines if the "defualt" classification label applies for the supplied request. |
boolean |
isRecognized(HttpServletRequest req)
Determines if the client classification has been explicitly recognized. |
| Field Detail |
public static final String UNCLASSIFIED
| Method Detail |
public String getClientClassification(HttpServletRequest req)
req - The request object.
public boolean isDefault(HttpServletRequest req)
req - The request object.
true if the request resolves as defaultisRecognized(HttpServletRequest req)public boolean isRecognized(HttpServletRequest req)
true for isRecognized and the other, not
explicitly resolved, would return false for isRecognzed
req - The request object.
true if the request's client classification
was resolved to a category (even "default")
explicitly.isDefault(HttpServletRequest req)public String getClassificationConfigurationFilePath(HttpServletRequest req)
req - The request object.
|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||