HttpOptions.GetAllowedMethods(IHttpResponse) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the HTTP methods named by the response's Allow headers.
[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>
Parameters
- response
- IHttpResponse
The non-null HTTP response containing Allow headers.
Returns
The HTTP methods named by the response's Allow headers.
- Attributes
Exceptions
Thrown when response is null.
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.