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.JsonObject
Methods inherited from interface org.nuclos.api.context.LogContext
log, logError, logWarn
Methods inherited from interface org.nuclos.api.context.RuleContext
addContextCacheValue, getContextCacheValue, getLanguage, 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
-