private ObjectNode internalCreateRequest ( String methodName , Object arguments , String id ) { final ObjectNode request = mapper . createObjectNode ( ) ; addId ( id , request ) ; addProtocolAndMethod ( methodName , request ) ; addParameters ( arguments , request ) ; addAdditionalHeaders ( request ) ; notifyBeforeRequestListener ( request ) ; return request ; }
Creates RPC request .