|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Injector<T>
Injectors are used to inject any method parameter values in the http request before it gets fired. They can modify the http request as wanted.
If implementor declares a constructor with a Map argument, it will be called with the user custom properties.
InterfaceContext.getProperties()
Method Summary | |
---|---|
void |
inject(HttpRequest.Builder builder,
ParamContext<T> context)
Injects the current param into the request. |
Method Detail |
---|
void inject(HttpRequest.Builder builder, ParamContext<T> context)
builder
- Current http request being build.context
- The current param context holding the value of the current method argument and all other context objects.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |