Our async HTTP engine has also be reused in our async HTTP client, so we can now scalable produce request and consume responses.
我们的异步http客户端重用了异步http引擎,这样就能以可伸缩的方式生成请求并处理响应了。
As with all HTTP-based services, the API works by accepting HTTP requests containing one or more input arguments and returning responses that can be parsed and used by the requesting client.
和所有基于HTTP的服务一样,该API通过接受HTTP请求(其中包含一个或多个输入参数并返回可被请求客户端使用和解析的响应)来运行。
To retrieve and interact with authenticated feeds, the HTTP client needs to provide authentication information along with the HTTP GET request.
要检索并与经过验证的摘要进行交互,HTTP客户需要提供验证信息以及 HTTPGET请求。
The following illustration shows that the HTTP export is connected to a mediation flow that performs required transformation of the payload (the body of the HTTP request) sent from the REST client.
下图显示了HTTP导出连接到一个中介流中,这个中介流执行来自REST客户端的负载(HTTP请求体)的转换。
The MDB HTTP client waits for the synchronous HTTP response from the provider.
MDBHTTP客户机将等待提供程序发送的同步HTTP响应。
The application client must provide a basic authentication header (which contains an authorized user’s user ID and password) in the HTTP header of the HTTP request.
在HTTP 请求的头部中,该应用程序客户端必须提供基本验证头部(其包含已授权用户的用户ID和密码)。
You might tinker with the HTTP response that each method renders, but your client code is really after only the HTTP return code.
可以修补每个方法呈现的HTTP响应,但是客户代码实际就在http返回码之后。
Using HTTP Basic authentication also allows the credential to propagate from HTTP client to HTTP endpoint (Application Server).
使用HTTP基本身份验证,还允许凭据从HTTP客户端传播到http端点(ApplicationServer)。
Upon receiving a message, the HTTP client function of the MDB constructs an HTTP request using all the information placed in the request JMS message by the servlet.
接收到消息后,MDB的HTTP客户机函数将使用Servlet放置在请求JMS消息中的所有信息来构造一个HTTP请求。
For example, using the techniques described earlier, and that the authentication proxy will always override an HTTP header set by the client since HTTP headers can be forged.
例如,使用前面描述的技术,这样身份验证代理将始终重写客户端设置的HTTPHeader,因为HTTPHeader可以伪造。
The HTTP client can issue an HTTP request with connection: close specified in its headers, which ensures that a new connection is created for each new request.
HTTP客户机可以发出标头中指定了Connection:close的HTTP请求,从而确保为每个新请求创建新连接。
The Apache HTTP client package is designed to be extended, while also giving support for the base HTTP protocol.
ApacheHTTP客户端包被设计成能扩展的,同时支持基底HTTP协议。
From the client point of view, when it invokes this asynchronous service-say using http-it receives HTTP 202 in the same transport channel.
从客户机的角度看,当它调用此异步服务时,比如使用HTTP,它将在同一个传输通道中收到HTTP 202。
On the client side, before sending an HTTP request, first send an HTTP OPTIONS request to check if the operation you want to perform is supported by the server.
在客户端,在发送HTTP请求之前,先发送一个HTTPOPTION请求检查服务器端是否支持你要执行的操作。
A standard HTTP request is being used behind the scenes, of course, but the client code never has to interact with the HTTP protocol directly.
标准的HTTP请求在后台使用,但客户端代码永远无需直接与HTTP协议交互。
Simple GETFull HTTP-based interface: a client can send an HTTP GET request and download a list of all rules; the output of such a request will follow the format presented in Listing 1.
基于 GETFullHTTP的简单接口:客户端可以发送 HTTPGET请求并下载所有规则的列表;此类请求的输出将遵循清单 1中所示的格式
XSocket-http, supports writing synchronous and asynchronous HTTP client and server components.
xSocket - http,支持编写同步、异步的http客户端和服务器组件。
Invoke your function from within the eXist XML database by referring to the EXPath HTTP client xquery library implementation-http-client.xqm-bundled with the example download for the article.
通过引用与本文示例下载绑定在一起的EXPathhttp clientxquery库实现—http - client . xqm,从eXistXML数据库中调用您的函数。
Now that you have the basics of the EXPath HTTP Client module, use it to build a generic web-based HTTP tester that you can use to test sending HTTP requests.
既然已经基本了解EXPathHTTP Client模块,就使用它来构建一个普通的基于web的HTTPtester,您可以用来测试发送HTTP请求。
Now that you have the basics of the EXPath HTTP Client module, use it to build a generic web-based HTTP tester that you can use to test sending HTTP requests.
既然已经基本了解EXPathHTTP Client模块,就使用它来构建一个普通的基于web的HTTPtester,您可以用来测试发送HTTP请求。
应用推荐