HttpURLConnection.RequestMethod 속성

정의

요청 메서드를 가져옵니다. -또는- URL 요청에 대한 메서드를 설정합니다. 그 중 하나: <UL<>LI>GET <LI POST <LI>>HEAD <LI>OPTIONS <LI>PUT <LI>DELETE <LI>TRACE </UL>은 프로토콜 제한에 따라 합법적입니다.

public virtual string? RequestMethod { [Android.Runtime.Register("getRequestMethod", "()Ljava/lang/String;", "GetGetRequestMethodHandler")] get; [Android.Runtime.Register("setRequestMethod", "(Ljava/lang/String;)V", "GetSetRequestMethod_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getRequestMethod", "()Ljava/lang/String;", "GetGetRequestMethodHandler")>]
[<set: Android.Runtime.Register("setRequestMethod", "(Ljava/lang/String;)V", "GetSetRequestMethod_Ljava_lang_String_Handler")>]
member this.RequestMethod : string with get, set

속성 값

HTTP 요청 메서드

특성

예외

연결 후 호출되거나 이 HTTP 구현에서 메서드가 지원되지 않는 경우

설명

속성 getter 설명서:

요청 메서드를 가져옵니다.

에 대한 java.net.HttpURLConnection.getRequestMethod()Java 설명서

속성 setter 설명서:

URL 요청에 <대한 메서드를 설정합니다. UL><LI>GET <LI POST <LI>HEAD <LI>>OPTIONS <LI>PUT <LI>DELETE <LI>TRACE </UL>은 프로토콜 제한에 따라 합법적입니다. 기본 메서드는 GET입니다.

에 대한 java.net.HttpURLConnection.setRequestMethod(java.lang.String)Java 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상

추가 정보