public static class ArgumentExtractors.InputStreamParamExtractor extends Object implements ArgumentExtractor<InputStream>
Constructor and Description |
---|
InputStreamParamExtractor(Param param) |
Modifier and Type | Method and Description |
---|---|
InputStream |
extract(Context context)
Extract the argument from the context
|
Class<InputStream> |
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 InputStreamParamExtractor(Param param)
public InputStream extract(Context context)
ArgumentExtractor
extract
in interface ArgumentExtractor<InputStream>
context
- The argument to extractpublic Class<InputStream> getExtractedType()
ArgumentExtractor
getExtractedType
in interface ArgumentExtractor<InputStream>
public String getFieldName()
ArgumentExtractor
getFieldName
in interface ArgumentExtractor<InputStream>
Copyright © 2019 ninjaframework. All rights reserved.