Class ProfileRestController
java.lang.Object
org.craftercms.engine.controller.rest.preview.ProfileRestController
@RestController
@RequestMapping("${crafter.core.rest.base.uri}/profile")
public class ProfileRestController
extends Object
REST controller for integration with Crafter Profile.
- Author:
- Russ Danner, Alfonso Vásquez
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetProfile
(javax.servlet.http.HttpSession session) setProfile
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpSession session) protected boolean
-
Field Details
-
URL_ROOT
- See Also:
-
MAXIMUM_PROPERTY_COUNT
public static final int MAXIMUM_PROPERTY_COUNT- See Also:
-
MAXIMUM_PROPERTY_KEY_LENGTH
public static final int MAXIMUM_PROPERTY_KEY_LENGTH- See Also:
-
MAXIMUM_PROPERTY_VALUE_LENGTH
public static final int MAXIMUM_PROPERTY_VALUE_LENGTH- See Also:
-
PROFILE_SESSION_ATTRIBUTE
- See Also:
-
CLEANSE_ATTRS_CONFIG_KEY
- See Also:
-
ERROR_MESSAGE_MODEL_ATTR_NAME
- See Also:
-
-
Constructor Details
-
ProfileRestController
public ProfileRestController()
-
-
Method Details
-
getProfile
-
setProfile
-
shouldCleanseAttributes
protected boolean shouldCleanseAttributes()
-