In addition, each takes a callback that handles the returned data from the request.
另外,每个方法都接受一个处理从请求返回的数据的回调。
This approach relies on the remote service accepting a callback function name as a request parameter.
这种方法依赖于接受回调函数名作为请求参数的远程服务。
To do this, make a HEAD request and then check for a 404 error in your callback function; Listing 11 shows a sample callback.
要实现这种功能,生成一个HEAD请求,然后在回调函数中检查404错误;清单11给出了一个简单的回调函数。
This code includes a callback function when your service responds successfully to your asynchronous request.
代码中包含服务成功响应异步请求时调用的回调函数。
The core notifies the driver using previously registered callback functions after the transfer request is completed.
传送请求完成后,核心会使用以前注册的回调函数来通知驱动程序。
The container invokes the defined callback method when it receives a response for the previously sent request.
当容器收到此前发送的请求的响应时,调用已定义的回调方法。
This is the final request/response portion of the Basic callback scenario described in the WS-I Usage Scenarios document.
这是WS-I使用情形文档中描述的基本回调情形的最后的请求/响应部分。
Refer back to Listing 4 now and note that to make an asynchronous callback to the server, you have to know the URL to request.
现在,再回到清单4,注意到为了向服务器进行异步回调,您必须要知道这个请求的URL。
The orderer must then be prepared to respond to a request (callback, in this case) to process the final invoice.
订货方然后必须响应一个请求(在本例中是回叫)来处理最终的货物。
Listing 10 provides a simple callback function to output all the response headers from a head request.
清单10提供了一个简单的回调函数,用来输出从HEAD请求中获得的响应头的内容。
The callback is how your server code can verify the username-and-password combination supplied by the client on a request.
服务器代码使用回调检验客户机在请求中提供的用户名和密码组合。
Therefore, the IT architect has decided to use a simple request response or callback protocol between the consumer and provider.
因此,IT架构师决定在消费者和提供者之间使用一个简单的请求响应或者回叫协议。
The service requestor dispatches the request message and subsequently polls the service for the response, or a callback is dispatched to the requestor.
服务请求者发出请求消息,并随后向服务轮询响应,或者向请求者发出回调。
Moreover, you can also specify a callback function if you request JSON data from the service.
此外,如果您向服务请求JSON数据,还可指定回调函数。
Your callback function will run several times — each time the ready state of the request changes — and you'll see an alert for each ready state.
这个回调函数会运行多次——每次就绪状态都会改变——您可以看到每个就绪状态的警告。
As a part of the request, the callback function is also defined.
在这个请求中,还定义回调函数。
The handle (Callback ) method is invoked each time a service request occurs.
每次发生服务请求时将会调用Handle (Callback)方法。
Callback - a reference to a function that will be called when the request returns.
callback—指的是当请求返回时将要调用的函数的引用。
This property ensures that a server has completed a request and typically, a callback function USES the data from the server to update a Web form or page.
这个属性确保服务器已经完成了一个请求,通常会使用一个回调函数从服务器中读出数据来更新Web表单或页面的内容。
The asynchronous callback equivalent of the synchronous operation shown in Example 4 consists of a request operation like this.
在例4中显示的同步操作的等价异步回调包含如下一个请求操作。
It also invokes the response callback function to confirm the deletion after the request completes.
它还能在请求完成后调用response回调函数来确认删除。
The strategy provider, as a potential observer of a strategy consumer, looks for RFSS web services, checks the type of request, and registers for a callback to execute the particular strategy.
策略提供者是策略消费者的潜在观察者,它会查找RFSSWeb服务,检查请求者的类型,注册一个回调方法,以执行特定的策略。
The callback function specified in req.onreadystatechange is invoked when the server responds to the request.
在req.onreadystatechange 内指定的回调函数在服务器响应请求的时候调用。
The container invokes this callback handler when it receives a Web service response from the request sent earlier.
当容器从此前发送的请求接收到一条Web服务响应时,即调用这个回调处理程序。
Creates a SOAP.Envelope encapsulating an RPC-Style request and sends that to the Web service, invoking a callback when a response is received.
创建一个封装rpc样式请求的SOAP . Envelope,并将其发送到Web服务。当接收到响应时,调用回调函数。
This callback function is invoked several times during the life cycle of the Ajax request whose current state can be obtained from the readyState property.
此回调函数在Ajax请求的整个生命周期进行了多次调用,而请求的当前状态可从readyState属性获得。
Make sure that when you set up your request, you set the callback function to updatePage ; to do this, set the onreadystatechange property of your request object to updatePage .
确保在建立请求时,将回调函数设置为updatepage;要实现这种设置,可以将请求对象的onreadystatechange属性设置为updatepage 。
In your own callback servlet, use the code below in Listing 3 to get the verifier and use it to request AccessToken and Secret.
在您自己的回调servlet中,使用清单3中的代码获取验证器,然后使用它来请求AccessToken和Secret。
Now the handler instance is ready to be invoked by WebSphere Application Server when the JAAS callback handler sequence is triggered by a service request in the client (Step 4).
现在,当客户端的服务请求触发JAAS回调处理程序序列时,WebSphereApplicationServer将调用处理程序实例(步骤4)。
The inbound representation of the operation request MAY contain a "webhook" field, whose value is a URI where the client expects a callback.
请求操作的入站消息可能包含一个“webhook”域,如果客户端期待回调,该域的值是一个URI;
应用推荐