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()
OpProcessorgetName in interface OpProcessorpublic ThrowingConsumer<Context> select(Context ctx) throws OpProcessorException
OpProcessorselect in interface OpProcessorOpProcessorExceptionpublic void close()
           throws Exception
close in interface AutoCloseableExceptionCopyright © 2013–2015 Apache Software Foundation. All rights reserved.