Language

DefaultRequestDirector.RewriteRequestURI(RequestWrapper, HttpRoute) Method

Definition

Rewrites the request URI for its route.

[Android.Runtime.Register("rewriteRequestURI", "(Lorg/apache/http/impl/client/RequestWrapper;Lorg/apache/http/conn/routing/HttpRoute;)V", "GetRewriteRequestURI_Lorg_apache_http_impl_client_RequestWrapper_Lorg_apache_http_conn_routing_HttpRoute_Handler")]
protected virtual void RewriteRequestURI(Org.Apache.Http.Impl.Client.RequestWrapper? request, Org.Apache.Http.Conn.Routing.HttpRoute? route);
[<Android.Runtime.Register("rewriteRequestURI", "(Lorg/apache/http/impl/client/RequestWrapper;Lorg/apache/http/conn/routing/HttpRoute;)V", "GetRewriteRequestURI_Lorg_apache_http_impl_client_RequestWrapper_Lorg_apache_http_conn_routing_HttpRoute_Handler")>]
abstract member RewriteRequestURI : Org.Apache.Http.Impl.Client.RequestWrapper * Org.Apache.Http.Conn.Routing.HttpRoute -> unit
override this.RewriteRequestURI : Org.Apache.Http.Impl.Client.RequestWrapper * Org.Apache.Http.Conn.Routing.HttpRoute -> unit

Parameters

request
RequestWrapper

The wrapper whose URI is to be rewritten in place.

route
HttpRoute

The route used to select an absolute URI for a non-tunnelled proxy connection or a relative URI otherwise.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to