HttpOptions.GetAllowedMethods(IHttpResponse) Método

Definición

Obtiene los métodos HTTP denominados por los encabezados de Allow la respuesta.

[Android.Runtime.Register("getAllowedMethods", "(Lorg/apache/http/HttpResponse;)Ljava/util/Set;", "GetGetAllowedMethods_Lorg_apache_http_HttpResponse_Handler")]
public virtual System.Collections.Generic.ICollection<string>? GetAllowedMethods(Org.Apache.Http.IHttpResponse? response);
[<Android.Runtime.Register("getAllowedMethods", "(Lorg/apache/http/HttpResponse;)Ljava/util/Set;", "GetGetAllowedMethods_Lorg_apache_http_HttpResponse_Handler")>]
abstract member GetAllowedMethods : Org.Apache.Http.IHttpResponse -> System.Collections.Generic.ICollection<string>
override this.GetAllowedMethods : Org.Apache.Http.IHttpResponse -> System.Collections.Generic.ICollection<string>

Parámetros

response
IHttpResponse

Respuesta HTTP que no es NULL que contiene Allow encabezados.

Devoluciones

Los métodos HTTP denominados por los encabezados de Allow la respuesta.

Atributos

Excepciones

Se produce cuando response es null.

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el proyecto de código abierto de Android y se usan según los términos descritos en la licencia de atribución de Creative Commons 2.5.

Se aplica a