ninja.params
Class ArgumentExtractors.HttpServletResponseExtractor
java.lang.Object
ninja.params.ArgumentExtractors.HttpServletResponseExtractor
- All Implemented Interfaces:
- ArgumentExtractor<javax.servlet.http.HttpServletResponse>
- Enclosing class:
- ArgumentExtractors
public static class ArgumentExtractors.HttpServletResponseExtractor
- extends Object
- implements ArgumentExtractor<javax.servlet.http.HttpServletResponse>
Method Summary |
javax.servlet.http.HttpServletResponse |
extract(Context context)
Extract the argument from the context |
Class<javax.servlet.http.HttpServletResponse> |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArgumentExtractors.HttpServletResponseExtractor
public ArgumentExtractors.HttpServletResponseExtractor()
extract
public javax.servlet.http.HttpServletResponse extract(Context context)
- Description copied from interface:
ArgumentExtractor
- Extract the argument from the context
- Specified by:
extract
in interface ArgumentExtractor<javax.servlet.http.HttpServletResponse>
- Parameters:
context
- The argument to extract
- Returns:
- The extracted argument
getExtractedType
public Class<javax.servlet.http.HttpServletResponse> getExtractedType()
- Description copied from interface:
ArgumentExtractor
- Get the type of the argument that is extracted
- Specified by:
getExtractedType
in interface ArgumentExtractor<javax.servlet.http.HttpServletResponse>
- Returns:
- The type of the argument that is being extracted
getFieldName
public String getFieldName()
- Description copied from interface:
ArgumentExtractor
- Get the field name that is being extracted, if this value is
extracted from a field
- Specified by:
getFieldName
in interface ArgumentExtractor<javax.servlet.http.HttpServletResponse>
- Returns:
- The field name, or null if the argument isn't extracted
from a named field
Copyright © 2012. All Rights Reserved.