类的使用
org.springframework.remoting.support.RemoteInvocationResult
使用RemoteInvocationResult的程序包 程序包 说明 org.springframework.jms.remoting Remoting classes for transparent Java-to-Java remoting via a JMS provider.org.springframework.remoting.httpinvoker Remoting classes for transparent Java-to-Java remoting via HTTP invokers.org.springframework.remoting.rmi Remoting classes for conventional RMI and transparent remoting via RMI invokers.org.springframework.remoting.support Generic support classes for remoting implementations.org.springframework.jms.remoting中RemoteInvocationResult的使用
返回RemoteInvocationResult的org.springframework.jms.remoting中的方法 修饰符和类型 方法 说明 protected RemoteInvocationResultJmsInvokerClientInterceptor. executeRequest(RemoteInvocation invocation)Execute the given remote invocation, sending an invoker request message to this accessor's target queue and waiting for a corresponding response.protected RemoteInvocationResultJmsInvokerClientInterceptor. extractInvocationResult(Message responseMessage)Extract the invocation result from the response message.protected RemoteInvocationResultJmsInvokerClientInterceptor. onInvalidResponse(Message responseMessage)Callback that is invoked byJmsInvokerClientInterceptor.extractInvocationResult(javax.jms.Message)when it encounters an invalid response message.protected RemoteInvocationResultJmsInvokerClientInterceptor. onReceiveTimeout(RemoteInvocation invocation)Callback that is invoked byJmsInvokerClientInterceptor.executeRequest(org.springframework.remoting.support.RemoteInvocation)when the receive timeout has expired for the specifiedRemoteInvocation.参数类型为RemoteInvocationResult的org.springframework.jms.remoting中的方法 修饰符和类型 方法 说明 protected MessageJmsInvokerServiceExporter. createResponseMessage(Message request, Session session, RemoteInvocationResult result)Create the invocation result response message.protected ObjectJmsInvokerClientInterceptor. recreateRemoteInvocationResult(RemoteInvocationResult result)Recreate the invocation result contained in the givenRemoteInvocationResultobject.protected voidJmsInvokerServiceExporter. writeRemoteInvocationResult(Message requestMessage, Session session, RemoteInvocationResult result)Send the given RemoteInvocationResult as a JMS message to the originator.org.springframework.remoting.httpinvoker中RemoteInvocationResult的使用
返回RemoteInvocationResult的org.springframework.remoting.httpinvoker中的方法 修饰符和类型 方法 说明 protected abstract RemoteInvocationResultAbstractHttpInvokerRequestExecutor. doExecuteRequest(HttpInvokerClientConfiguration config, ByteArrayOutputStream baos)Execute a request to send the given serialized remote invocation.protected RemoteInvocationResultHttpComponentsHttpInvokerRequestExecutor. doExecuteRequest(HttpInvokerClientConfiguration config, ByteArrayOutputStream baos)Execute the given request through the HttpClient.protected RemoteInvocationResultSimpleHttpInvokerRequestExecutor. doExecuteRequest(HttpInvokerClientConfiguration config, ByteArrayOutputStream baos)Execute the given request through a standardHttpURLConnection.protected RemoteInvocationResultAbstractHttpInvokerRequestExecutor. doReadRemoteInvocationResult(ObjectInputStream ois)Perform the actual reading of an invocation object from the given ObjectInputStream.RemoteInvocationResultAbstractHttpInvokerRequestExecutor. executeRequest(HttpInvokerClientConfiguration config, RemoteInvocation invocation)protected RemoteInvocationResultHttpInvokerClientInterceptor. executeRequest(RemoteInvocation invocation)Execute the given remote invocation via theHttpInvokerRequestExecutor.protected RemoteInvocationResultHttpInvokerClientInterceptor. executeRequest(RemoteInvocation invocation, MethodInvocation originalInvocation)Execute the given remote invocation via theHttpInvokerRequestExecutor.RemoteInvocationResultHttpInvokerRequestExecutor. executeRequest(HttpInvokerClientConfiguration config, RemoteInvocation invocation)Execute a request to send the given remote invocation.protected RemoteInvocationResultAbstractHttpInvokerRequestExecutor. readRemoteInvocationResult(InputStream is, String codebaseUrl)Deserialize a RemoteInvocationResult object from the given InputStream.参数类型为RemoteInvocationResult的org.springframework.remoting.httpinvoker中的方法 修饰符和类型 方法 说明 protected voidHttpInvokerServiceExporter. writeRemoteInvocationResult(HttpServletRequest request, HttpServletResponse response, RemoteInvocationResult result)Write the given RemoteInvocationResult to the given HTTP response.protected voidHttpInvokerServiceExporter. writeRemoteInvocationResult(HttpServletRequest request, HttpServletResponse response, RemoteInvocationResult result, OutputStream os)Serialize the given RemoteInvocation to the given OutputStream.protected voidSimpleHttpInvokerServiceExporter. writeRemoteInvocationResult(com.sun.net.httpserver.HttpExchange exchange, RemoteInvocationResult result)已过时。Write the given RemoteInvocationResult to the given HTTP response.protected voidSimpleHttpInvokerServiceExporter. writeRemoteInvocationResult(com.sun.net.httpserver.HttpExchange exchange, RemoteInvocationResult result, OutputStream os)已过时。Serialize the given RemoteInvocation to the given OutputStream.org.springframework.remoting.rmi中RemoteInvocationResult的使用
参数类型为RemoteInvocationResult的org.springframework.remoting.rmi中的方法 修饰符和类型 方法 说明 protected voidRemoteInvocationSerializingExporter. doWriteRemoteInvocationResult(RemoteInvocationResult result, ObjectOutputStream oos)Perform the actual writing of the given invocation result object to the given ObjectOutputStream.org.springframework.remoting.support中RemoteInvocationResult的使用
返回RemoteInvocationResult的org.springframework.remoting.support中的方法 修饰符和类型 方法 说明 protected RemoteInvocationResultRemoteInvocationBasedExporter. invokeAndCreateResult(RemoteInvocation invocation, Object targetObject)Apply the given remote invocation to the given target object, wrapping the invocation result in a serializable RemoteInvocationResult object.参数类型为RemoteInvocationResult的org.springframework.remoting.support中的方法 修饰符和类型 方法 说明 protected ObjectRemoteInvocationBasedAccessor. recreateRemoteInvocationResult(RemoteInvocationResult result)Recreate the invocation result contained in the given RemoteInvocationResult object.