Class ArrayTypeProcessor
- java.lang.Object
-
- fish.payara.monitoring.rest.app.processor.ArrayTypeProcessor
-
- All Implemented Interfaces:
TypeProcessor<ArrayType>
public class ArrayTypeProcessor extends Object implements TypeProcessor<ArrayType>
- Author:
- Fraser Savage
-
-
Constructor Summary
Constructors Constructor Description ArrayTypeProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.json.JsonValueprocessObject(Object object)Returns anObjectwhich has been processed for serving by a Json REST resource.
-
-
-
Method Detail
-
processObject
public jakarta.json.JsonValue processObject(Object object) throws jakarta.json.JsonException
Description copied from interface:TypeProcessorReturns anObjectwhich has been processed for serving by a Json REST resource. The object parameter must be the correctOpenType. Should return either anObjector aJsonObject.- Specified by:
processObjectin interfaceTypeProcessor<ArrayType>- Parameters:
object- The object to process.- Returns:
- The processed
Objectform of object. - Throws:
jakarta.json.JsonException
-
-