Interface DirectJunitExtension.ParamHandler<T>
- Type Parameters:
T
- type of the parameter (such asHttpRouting.Builder
- Enclosing interface:
DirectJunitExtension
public static interface DirectJunitExtension.ParamHandler<T>
Handler to provide an instance that can be injected as a parameter to
SetUpRoute
static methods.-
Method Summary
-
Method Details
-
get
Get an instance to be injected.- Parameters:
socketName
- name of a socket this will belong to- Returns:
- a new instance to inject as a parameter to the method
-
handle
Handle the value after the method has been called, and its body updated our provided instance.- Parameters:
method
- method that updated the valuesocketName
- socket namevalue
- the value we provided withget(String)
-