public class ControlOpProcessor extends Object implements OpProcessor
Modifier and Type | Field and Description |
---|---|
static String |
OP_PROCESSOR_NAME |
Constructor and Description |
---|
ControlOpProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getName()
The name of the processor which requests must refer to "processor" field on a request.
|
ThrowingConsumer<Context> |
select(Context ctx)
Given the context (which contains the RequestMessage), return back a Consumer function that will be
executed with the context.
|
public static final String OP_PROCESSOR_NAME
public String getName()
OpProcessor
getName
in interface OpProcessor
public ThrowingConsumer<Context> select(Context ctx) throws OpProcessorException
OpProcessor
select
in interface OpProcessor
OpProcessorException
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.