Package org.nuclos.api.context
Interface CustomRestContext
- All Superinterfaces:
LogContext,RuleContext
- All Known Subinterfaces:
CustomRestUploadContext
CustomRestContext represents the context used in CustomRestRule-
Method Summary
Modifier and TypeMethodDescriptionjavax.json.JsonObjectMethods inherited from interface org.nuclos.api.context.LogContext
log, logError, logWarnMethods inherited from interface org.nuclos.api.context.RuleContext
addContextCacheValue, getContextCacheValue, getLanguage, getLocale, getUser, removeContextCacheValue
-
Method Details
-
getRequestParameter
- Parameters:
key-- Returns:
- request parameter
-
getRequestData
javax.json.JsonObject getRequestData()- Returns:
- request data which is send via e.g. POST or PUT request as JsonObject
-