Class InputOutputProcessingHandlerImpl

    • Constructor Detail

      • InputOutputProcessingHandlerImpl

        public InputOutputProcessingHandlerImpl()
    • Method Detail

      • processFromClient

        public <T> Pair<T,​com.fasterxml.jackson.databind.JsonNode> processFromClient​(T object,
                                                                                           boolean logJson)
        Description copied from interface: InputOutputProcessingHandler
        Recursively processes the object received from a client
        Specified by:
        processFromClient in interface InputOutputProcessingHandler
        Parameters:
        object - The object to process
        logJson - If true, the second pair value will be a JsonNode to show in the log as parameter
      • processMethodResult

        public <T> Pair<T,​com.fasterxml.jackson.databind.JsonNode> processMethodResult​(Method method,
                                                                                             T result,
                                                                                             boolean logJson)
        Description copied from interface: InputOutputProcessingHandler
        Recursively processes the result of the given method call
        Specified by:
        processMethodResult in interface InputOutputProcessingHandler
        result - The method result
        logJson - If true, the second pair value will be a JsonNode to show in the log as result
      • processToClient

        public <T> Pair<T,​com.fasterxml.jackson.databind.JsonNode> processToClient​(T object,
                                                                                         boolean logJson)
        Description copied from interface: InputOutputProcessingHandler
        Recursively processes the given object to send to a client
        Specified by:
        processToClient in interface InputOutputProcessingHandler
        Parameters:
        object - The object to process
        logJson - If true, the second pair value will be a JsonNode to show in the log as result