Package org.apache.zookeeper.server
Class UnimplementedRequestProcessor
- java.lang.Object
-
- org.apache.zookeeper.server.UnimplementedRequestProcessor
-
- All Implemented Interfaces:
RequestProcessor
public class UnimplementedRequestProcessor extends Object implements RequestProcessor
Manages the unknown requests (i.e. unknown OpCode), by: - sending back the KeeperException.UnimplementedException() error code to the client - closing the connection.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.zookeeper.server.RequestProcessor
RequestProcessor.RequestProcessorException
-
-
Constructor Summary
Constructors Constructor Description UnimplementedRequestProcessor()
-
-
-
Method Detail
-
processRequest
public void processRequest(Request request) throws RequestProcessor.RequestProcessorException
- Specified by:
processRequest
in interfaceRequestProcessor
- Throws:
RequestProcessor.RequestProcessorException
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfaceRequestProcessor
-
-