Package co.featbit.commons.model
Class UserTag
java.lang.Object
co.featbit.commons.model.UserTag
- All Implemented Interfaces:
Serializable
an object provides the user tags used to instantiate the FBUser
- See Also:
-
Field Details
-
HEADER
- See Also:
-
QUERY_STRING
- See Also:
-
COOKIE
- See Also:
-
POST_BODY
- See Also:
-
-
Constructor Details
-
UserTag
- Parameters:
requestProperty- tag name in http requestsource- tag source: header, query string, cookie or post bodyuserProperty- tag name inFBUser
-
-
Method Details
-
of
build a user tag- Parameters:
requestProperty- tag name in http requestsource- tag source: header, query string, cookie or post bodyuserProperty- tag name inFBUser- Returns:
- a User tag
-
getRequestProperty
return the tag name in http request- Returns:
- a string
-
getSource
return the tag source- Returns:
- a string
-
getUserProperty
return the property name ofFBUser- Returns:
- a string or null
-
equals
-
hashCode
public int hashCode() -
toString
-