类的使用
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 RemoteInvocationResult
JmsInvokerClientInterceptor. 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 RemoteInvocationResult
JmsInvokerClientInterceptor. extractInvocationResult(Message responseMessage)
Extract the invocation result from the response message.protected RemoteInvocationResult
JmsInvokerClientInterceptor. onInvalidResponse(Message responseMessage)
Callback that is invoked byJmsInvokerClientInterceptor.extractInvocationResult(javax.jms.Message)
when it encounters an invalid response message.protected RemoteInvocationResult
JmsInvokerClientInterceptor. 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 Message
JmsInvokerServiceExporter. createResponseMessage(Message request, Session session, RemoteInvocationResult result)
Create the invocation result response message.protected Object
JmsInvokerClientInterceptor. recreateRemoteInvocationResult(RemoteInvocationResult result)
Recreate the invocation result contained in the givenRemoteInvocationResult
object.protected void
JmsInvokerServiceExporter. 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 RemoteInvocationResult
AbstractHttpInvokerRequestExecutor. doExecuteRequest(HttpInvokerClientConfiguration config, ByteArrayOutputStream baos)
Execute a request to send the given serialized remote invocation.protected RemoteInvocationResult
HttpComponentsHttpInvokerRequestExecutor. doExecuteRequest(HttpInvokerClientConfiguration config, ByteArrayOutputStream baos)
Execute the given request through the HttpClient.protected RemoteInvocationResult
SimpleHttpInvokerRequestExecutor. doExecuteRequest(HttpInvokerClientConfiguration config, ByteArrayOutputStream baos)
Execute the given request through a standardHttpURLConnection
.protected RemoteInvocationResult
AbstractHttpInvokerRequestExecutor. doReadRemoteInvocationResult(ObjectInputStream ois)
Perform the actual reading of an invocation object from the given ObjectInputStream.RemoteInvocationResult
AbstractHttpInvokerRequestExecutor. executeRequest(HttpInvokerClientConfiguration config, RemoteInvocation invocation)
protected RemoteInvocationResult
HttpInvokerClientInterceptor. executeRequest(RemoteInvocation invocation)
Execute the given remote invocation via theHttpInvokerRequestExecutor
.protected RemoteInvocationResult
HttpInvokerClientInterceptor. executeRequest(RemoteInvocation invocation, MethodInvocation originalInvocation)
Execute the given remote invocation via theHttpInvokerRequestExecutor
.RemoteInvocationResult
HttpInvokerRequestExecutor. executeRequest(HttpInvokerClientConfiguration config, RemoteInvocation invocation)
Execute a request to send the given remote invocation.protected RemoteInvocationResult
AbstractHttpInvokerRequestExecutor. readRemoteInvocationResult(InputStream is, String codebaseUrl)
Deserialize a RemoteInvocationResult object from the given InputStream.参数类型为RemoteInvocationResult的org.springframework.remoting.httpinvoker中的方法 修饰符和类型 方法 说明 protected void
HttpInvokerServiceExporter. writeRemoteInvocationResult(HttpServletRequest request, HttpServletResponse response, RemoteInvocationResult result)
Write the given RemoteInvocationResult to the given HTTP response.protected void
HttpInvokerServiceExporter. writeRemoteInvocationResult(HttpServletRequest request, HttpServletResponse response, RemoteInvocationResult result, OutputStream os)
Serialize the given RemoteInvocation to the given OutputStream.protected void
SimpleHttpInvokerServiceExporter. writeRemoteInvocationResult(com.sun.net.httpserver.HttpExchange exchange, RemoteInvocationResult result)
已过时。Write the given RemoteInvocationResult to the given HTTP response.protected void
SimpleHttpInvokerServiceExporter. 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 void
RemoteInvocationSerializingExporter. 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 RemoteInvocationResult
RemoteInvocationBasedExporter. 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 Object
RemoteInvocationBasedAccessor. recreateRemoteInvocationResult(RemoteInvocationResult result)
Recreate the invocation result contained in the given RemoteInvocationResult object.