DefaultHttpResponseFactory.NewHttpResponse Method

Definition

Overloads

NewHttpResponse(IStatusLine, IHttpContext)
NewHttpResponse(ProtocolVersion, Int32, IHttpContext)

NewHttpResponse(IStatusLine, IHttpContext)

[Android.Runtime.Register("newHttpResponse", "(Lorg/apache/http/StatusLine;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;", "GetNewHttpResponse_Lorg_apache_http_StatusLine_Lorg_apache_http_protocol_HttpContext_Handler")]
public virtual Org.Apache.Http.IHttpResponse? NewHttpResponse (Org.Apache.Http.IStatusLine? statusline, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("newHttpResponse", "(Lorg/apache/http/StatusLine;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;", "GetNewHttpResponse_Lorg_apache_http_StatusLine_Lorg_apache_http_protocol_HttpContext_Handler")>]
abstract member NewHttpResponse : Org.Apache.Http.IStatusLine * Org.Apache.Http.Protocol.IHttpContext -> Org.Apache.Http.IHttpResponse
override this.NewHttpResponse : Org.Apache.Http.IStatusLine * Org.Apache.Http.Protocol.IHttpContext -> Org.Apache.Http.IHttpResponse

Parameters

statusline
IStatusLine
context
IHttpContext

Returns

Implements

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

NewHttpResponse(ProtocolVersion, Int32, IHttpContext)

[Android.Runtime.Register("newHttpResponse", "(Lorg/apache/http/ProtocolVersion;ILorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;", "GetNewHttpResponse_Lorg_apache_http_ProtocolVersion_ILorg_apache_http_protocol_HttpContext_Handler")]
public virtual Org.Apache.Http.IHttpResponse? NewHttpResponse (Org.Apache.Http.ProtocolVersion? ver, int status, Org.Apache.Http.Protocol.IHttpContext? context);
[<Android.Runtime.Register("newHttpResponse", "(Lorg/apache/http/ProtocolVersion;ILorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;", "GetNewHttpResponse_Lorg_apache_http_ProtocolVersion_ILorg_apache_http_protocol_HttpContext_Handler")>]
abstract member NewHttpResponse : Org.Apache.Http.ProtocolVersion * int * Org.Apache.Http.Protocol.IHttpContext -> Org.Apache.Http.IHttpResponse
override this.NewHttpResponse : Org.Apache.Http.ProtocolVersion * int * Org.Apache.Http.Protocol.IHttpContext -> Org.Apache.Http.IHttpResponse

Parameters

status
Int32
context
IHttpContext

Returns

Implements

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