public class JsonBodyScope extends java.lang.Object implements MadvocScope
Constructor and Description |
---|
JsonBodyScope() |
Modifier and Type | Method and Description |
---|---|
void |
inject(ActionRequest actionRequest,
Targets targets)
Injects action request context into the targets.
|
void |
inject(javax.servlet.ServletContext servletContext,
Targets targets)
Injects servlet context into the targets.
|
void |
inject(Targets targets)
Injects general context into the targets.
|
void |
outject(ActionRequest actionRequest,
Targets targets)
Outjects targets into action request context.
|
protected java.lang.Object |
parseRequestBody(java.lang.String body,
java.lang.Class targetType)
Parses request body into the target type.
|
public void inject(ActionRequest actionRequest, Targets targets)
MadvocScope
inject
in interface MadvocScope
public void inject(javax.servlet.ServletContext servletContext, Targets targets)
MadvocScope
inject
in interface MadvocScope
public void inject(Targets targets)
MadvocScope
inject
in interface MadvocScope
public void outject(ActionRequest actionRequest, Targets targets)
MadvocScope
outject
in interface MadvocScope
protected java.lang.Object parseRequestBody(java.lang.String body, java.lang.Class targetType)
Copyright © 2003-present Jodd Team