public static class ArgumentExtractors.SessionExtractor extends Object implements ArgumentExtractor<Session>
Constructor and Description |
---|
SessionExtractor() |
Modifier and Type | Method and Description |
---|---|
Session |
extract(Context context)
Extract the argument from the context
|
Class<Session> |
getExtractedType()
Get the type of the argument that is extracted
|
String |
getFieldName()
Get the field name that is being extracted, if this value is
extracted from a field
|
public Session extract(Context context)
ArgumentExtractor
extract
in interface ArgumentExtractor<Session>
context
- The argument to extractpublic Class<Session> getExtractedType()
ArgumentExtractor
getExtractedType
in interface ArgumentExtractor<Session>
public String getFieldName()
ArgumentExtractor
getFieldName
in interface ArgumentExtractor<Session>
Copyright © 2019 ninjaframework. All rights reserved.