Class NativeResponseMapper
- java.lang.Object
- 
- jadex.extension.rs.publish.mapper.NativeResponseMapper
 
- 
- All Implemented Interfaces:
- IValueMapper
 
 public class NativeResponseMapper extends java.lang.Object implements IValueMapper The native response mapper allows for sending back native response objects. a) String (is treated as normal html response) b) ResourceInfo (is loaded as inputstream and transferred) c) URI (is treated as redirect url)
- 
- 
Constructor SummaryConstructors Constructor Description NativeResponseMapper()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectconvertValue(java.lang.Object value)Convert a value.protected java.lang.ObjectextractContent(java.lang.Object value)Prestep for extracting the content of a value.protected booleanisProduction()Test if is in debug mode.
 
- 
- 
- 
Method Detail- 
convertValuepublic java.lang.Object convertValue(java.lang.Object value) throws java.lang.ExceptionConvert a value.- Specified by:
- convertValuein interface- IValueMapper
- Parameters:
- value- The value to convert.
- Returns:
- The converted value.
- Throws:
- java.lang.Exception
 
 - 
extractContentprotected java.lang.Object extractContent(java.lang.Object value) Prestep for extracting the content of a value.
 - 
isProductionprotected boolean isProduction() Test if is in debug mode.
 
- 
 
-