public class HoconProcessor extends Object implements ConfigProcessor
| Constructor and Description |
|---|
HoconProcessor() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Name of the processor, generally the name of the format it handles.
|
void |
process(Vertx vertx,
JsonObject configuration,
Buffer input,
Handler<AsyncResult<JsonObject>> handler)
Transforms the given
input into a JsonObject. |
public String name()
ConfigProcessorname in interface ConfigProcessorpublic void process(Vertx vertx, JsonObject configuration, Buffer input, Handler<AsyncResult<JsonObject>> handler)
ConfigProcessorinput into a JsonObject. This is an asynchronous non-blocking
transformation. The result is passed to the given Handler. If the transformation fails, the passed
AsyncResult would be marked as failed. On success, the result contains the JsonObject.process in interface ConfigProcessorvertx - the Vert.x instanceconfiguration - the processor configuration, may be nullinput - the input, must not be nullhandler - the result handler, must not be null. The handler will be called in the same context as
the caller.Copyright © 2021 Eclipse. All rights reserved.