code: public JsonRequestHandler getRequestHandler(RequestType pType) {
          JsonRequestHandler handler = requestHandlerMap.get(pType);
          if (handler == null) {
              throw new UnsupportedOperationException("Unsupported operation '" + pType + "'");
          }
          return handler;
      }
docs: Get the request handler for the given type
  
  @param pType type of request
  @return handler which can handle requests of the given type