Change the HttpContext instance if necessary.
如有必要,更改HttpContext实例。
The context is represented by an instance of the HttpContext class.
上下文表示为一个HttpContext类实例。
If you are using basic authentication, you must create an HttpContext instance.
如果您使用的是基本认证机制,您必须创建一个HttpContext实例。
Remember to pass in the local HttpContext instance to authenticate with the server
记住将本地HttpContext实例传递给服务器的authenticate
If you are using form-based authentication, use the local HttpContext instance that you created earlier.
如果您使用的是基于形式的认证机制,那么使用您在前面创建的本地HttpContext实例。
To do this, call the Http client's execute method, and pass the Get method and the local HttpContext instance as parameters.
为了执行该操作,您可以调用Http客户端的执行方法,并传递本地HttpContext实例作为一个参数。
To maintain an authenticated session, pass the local HttpContext instance to every httpclient.execute method you call in your code.
为了维护一个认证的会话,您可以向代码中所调用的每一个httpclient . execute方法传递本地HttpContext实例。
You can use the local HttpContext object to customize the HTTP authentication context prior to requesting execution, or you can examine its state after the request has been executed.
您可以使用本地HttpContext对象来在请求执行之前定制HTTP认证内容,或者您可以在请求执行之后检查其状态。
You can use the local HttpContext object to customize the HTTP authentication context prior to requesting execution, or you can examine its state after the request has been executed.
您可以使用本地HttpContext对象来在请求执行之前定制HTTP认证内容,或者您可以在请求执行之后检查其状态。
应用推荐