PageRenderTime 27ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 1ms

/Generated/v2.2/Org.Apache.Http.Protocol.cs

https://gitlab.com/Pfhoenix/api
C# | 1175 lines | 463 code | 95 blank | 617 comment | 0 complexity | b8abc1add7febe544056a3e13e1b7371 MD5 | raw file
  1. // Copyright (C) 2014 dot42
  2. //
  3. // Original filename: Org.Apache.Http.Protocol.cs
  4. //
  5. // Licensed under the Apache License, Version 2.0 (the "License");
  6. // you may not use this file except in compliance with the License.
  7. // You may obtain a copy of the License at
  8. //
  9. // http://www.apache.org/licenses/LICENSE-2.0
  10. //
  11. // Unless required by applicable law or agreed to in writing, software
  12. // distributed under the License is distributed on an "AS IS" BASIS,
  13. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. // See the License for the specific language governing permissions and
  15. // limitations under the License.
  16. #pragma warning disable 1717
  17. namespace Org.Apache.Http.Protocol
  18. {
  19. /// <summary>
  20. /// <para>Provides access to an ordered list of request interceptors. Lists are expected to be built upfront and used read-only afterwards for processing.</para><para><para></para><para></para><title>Revision:</title><para>554903 </para></para><para><para>4.0 </para></para>
  21. /// </summary>
  22. /// <java-name>
  23. /// org/apache/http/protocol/HttpRequestInterceptorList
  24. /// </java-name>
  25. [Dot42.DexImport("org/apache/http/protocol/HttpRequestInterceptorList", AccessFlags = 1537)]
  26. public partial interface IHttpRequestInterceptorList
  27. /* scope: __dot42__ */
  28. {
  29. /// <summary>
  30. /// <para>Appends a request interceptor to this list.</para><para></para>
  31. /// </summary>
  32. /// <java-name>
  33. /// addRequestInterceptor
  34. /// </java-name>
  35. [Dot42.DexImport("addRequestInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;)V", AccessFlags = 1025)]
  36. void AddRequestInterceptor(global::Org.Apache.Http.IHttpRequestInterceptor itcp) /* MethodBuilder.Create */ ;
  37. /// <summary>
  38. /// <para>Inserts a request interceptor at the specified index.</para><para></para>
  39. /// </summary>
  40. /// <java-name>
  41. /// addRequestInterceptor
  42. /// </java-name>
  43. [Dot42.DexImport("addRequestInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;I)V", AccessFlags = 1025)]
  44. void AddRequestInterceptor(global::Org.Apache.Http.IHttpRequestInterceptor itcp, int index) /* MethodBuilder.Create */ ;
  45. /// <summary>
  46. /// <para>Obtains the current size of this list.</para><para></para>
  47. /// </summary>
  48. /// <returns>
  49. /// <para>the number of request interceptors in this list </para>
  50. /// </returns>
  51. /// <java-name>
  52. /// getRequestInterceptorCount
  53. /// </java-name>
  54. [Dot42.DexImport("getRequestInterceptorCount", "()I", AccessFlags = 1025)]
  55. int GetRequestInterceptorCount() /* MethodBuilder.Create */ ;
  56. /// <summary>
  57. /// <para>Obtains a request interceptor from this list.</para><para></para>
  58. /// </summary>
  59. /// <returns>
  60. /// <para>the interceptor at the given index, or <code>null</code> if the index is out of range </para>
  61. /// </returns>
  62. /// <java-name>
  63. /// getRequestInterceptor
  64. /// </java-name>
  65. [Dot42.DexImport("getRequestInterceptor", "(I)Lorg/apache/http/HttpRequestInterceptor;", AccessFlags = 1025)]
  66. global::Org.Apache.Http.IHttpRequestInterceptor GetRequestInterceptor(int index) /* MethodBuilder.Create */ ;
  67. /// <summary>
  68. /// <para>Removes all request interceptors from this list. </para>
  69. /// </summary>
  70. /// <java-name>
  71. /// clearRequestInterceptors
  72. /// </java-name>
  73. [Dot42.DexImport("clearRequestInterceptors", "()V", AccessFlags = 1025)]
  74. void ClearRequestInterceptors() /* MethodBuilder.Create */ ;
  75. /// <summary>
  76. /// <para>Removes all request interceptor of the specified class</para><para></para>
  77. /// </summary>
  78. /// <java-name>
  79. /// removeRequestInterceptorByClass
  80. /// </java-name>
  81. [Dot42.DexImport("removeRequestInterceptorByClass", "(Ljava/lang/Class;)V", AccessFlags = 1025)]
  82. void RemoveRequestInterceptorByClass(global::System.Type clazz) /* MethodBuilder.Create */ ;
  83. /// <summary>
  84. /// <para>Sets the request interceptors in this list. This list will be cleared and re-initialized to contain all request interceptors from the argument list. If the argument list includes elements that are not request interceptors, the behavior is implementation dependent.</para><para></para>
  85. /// </summary>
  86. /// <java-name>
  87. /// setInterceptors
  88. /// </java-name>
  89. [Dot42.DexImport("setInterceptors", "(Ljava/util/List;)V", AccessFlags = 1025)]
  90. void SetInterceptors(global::Java.Util.IList<object> itcps) /* MethodBuilder.Create */ ;
  91. }
  92. /// <summary>
  93. /// <para>Context attribute names for protocol execution.</para><para><para></para><para></para><title>Revision:</title><para>558154 </para></para><para><para>4.0 </para></para>
  94. /// </summary>
  95. /// <java-name>
  96. /// org/apache/http/protocol/ExecutionContext
  97. /// </java-name>
  98. [Dot42.DexImport("org/apache/http/protocol/ExecutionContext", AccessFlags = 1537, IgnoreFromJava = true, Priority = 1)]
  99. public static partial class IExecutionContextConstants
  100. /* scope: __dot42__ */
  101. {
  102. /// <java-name>
  103. /// HTTP_CONNECTION
  104. /// </java-name>
  105. [Dot42.DexImport("HTTP_CONNECTION", "Ljava/lang/String;", AccessFlags = 25)]
  106. public const string HTTP_CONNECTION = "http.connection";
  107. /// <java-name>
  108. /// HTTP_REQUEST
  109. /// </java-name>
  110. [Dot42.DexImport("HTTP_REQUEST", "Ljava/lang/String;", AccessFlags = 25)]
  111. public const string HTTP_REQUEST = "http.request";
  112. /// <java-name>
  113. /// HTTP_RESPONSE
  114. /// </java-name>
  115. [Dot42.DexImport("HTTP_RESPONSE", "Ljava/lang/String;", AccessFlags = 25)]
  116. public const string HTTP_RESPONSE = "http.response";
  117. /// <java-name>
  118. /// HTTP_TARGET_HOST
  119. /// </java-name>
  120. [Dot42.DexImport("HTTP_TARGET_HOST", "Ljava/lang/String;", AccessFlags = 25)]
  121. public const string HTTP_TARGET_HOST = "http.target_host";
  122. /// <java-name>
  123. /// HTTP_PROXY_HOST
  124. /// </java-name>
  125. [Dot42.DexImport("HTTP_PROXY_HOST", "Ljava/lang/String;", AccessFlags = 25)]
  126. public const string HTTP_PROXY_HOST = "http.proxy_host";
  127. /// <java-name>
  128. /// HTTP_REQ_SENT
  129. /// </java-name>
  130. [Dot42.DexImport("HTTP_REQ_SENT", "Ljava/lang/String;", AccessFlags = 25)]
  131. public const string HTTP_REQ_SENT = "http.request_sent";
  132. }
  133. /// <summary>
  134. /// <para>Context attribute names for protocol execution.</para><para><para></para><para></para><title>Revision:</title><para>558154 </para></para><para><para>4.0 </para></para>
  135. /// </summary>
  136. /// <java-name>
  137. /// org/apache/http/protocol/ExecutionContext
  138. /// </java-name>
  139. [Dot42.DexImport("org/apache/http/protocol/ExecutionContext", AccessFlags = 1537)]
  140. public partial interface IExecutionContext
  141. /* scope: __dot42__ */
  142. {
  143. }
  144. /// <summary>
  145. /// <para>Generates a date in the format required by the HTTP protocol.</para><para><para></para><para></para><title>Revision:</title><para>548066 </para></para><para><para>4.0 </para></para>
  146. /// </summary>
  147. /// <java-name>
  148. /// org/apache/http/protocol/HttpDateGenerator
  149. /// </java-name>
  150. [Dot42.DexImport("org/apache/http/protocol/HttpDateGenerator", AccessFlags = 33)]
  151. public partial class HttpDateGenerator
  152. /* scope: __dot42__ */
  153. {
  154. /// <summary>
  155. /// <para>Date format pattern used to generate the header in RFC 1123 format. </para>
  156. /// </summary>
  157. /// <java-name>
  158. /// PATTERN_RFC1123
  159. /// </java-name>
  160. [Dot42.DexImport("PATTERN_RFC1123", "Ljava/lang/String;", AccessFlags = 25)]
  161. public const string PATTERN_RFC1123 = "EEE, dd MMM yyyy HH:mm:ss zzz";
  162. /// <summary>
  163. /// <para>The time zone to use in the date header. </para>
  164. /// </summary>
  165. /// <java-name>
  166. /// GMT
  167. /// </java-name>
  168. [Dot42.DexImport("GMT", "Ljava/util/TimeZone;", AccessFlags = 25)]
  169. public static readonly global::Java.Util.TimeZone GMT;
  170. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  171. public HttpDateGenerator() /* MethodBuilder.Create */
  172. {
  173. }
  174. /// <java-name>
  175. /// getCurrentDate
  176. /// </java-name>
  177. [Dot42.DexImport("getCurrentDate", "()Ljava/lang/String;", AccessFlags = 33)]
  178. public virtual string GetCurrentDate() /* MethodBuilder.Create */
  179. {
  180. return default(string);
  181. }
  182. /// <java-name>
  183. /// getCurrentDate
  184. /// </java-name>
  185. public string CurrentDate
  186. {
  187. [Dot42.DexImport("getCurrentDate", "()Ljava/lang/String;", AccessFlags = 33)]
  188. get{ return GetCurrentDate(); }
  189. }
  190. }
  191. /// <summary>
  192. /// <para>Provides access to an ordered list of response interceptors. Lists are expected to be built upfront and used read-only afterwards for processing.</para><para><para></para><para></para><title>Revision:</title><para>554903 </para></para><para><para>4.0 </para></para>
  193. /// </summary>
  194. /// <java-name>
  195. /// org/apache/http/protocol/HttpResponseInterceptorList
  196. /// </java-name>
  197. [Dot42.DexImport("org/apache/http/protocol/HttpResponseInterceptorList", AccessFlags = 1537)]
  198. public partial interface IHttpResponseInterceptorList
  199. /* scope: __dot42__ */
  200. {
  201. /// <summary>
  202. /// <para>Appends a response interceptor to this list.</para><para></para>
  203. /// </summary>
  204. /// <java-name>
  205. /// addResponseInterceptor
  206. /// </java-name>
  207. [Dot42.DexImport("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;)V", AccessFlags = 1025)]
  208. void AddResponseInterceptor(global::Org.Apache.Http.IHttpResponseInterceptor itcp) /* MethodBuilder.Create */ ;
  209. /// <summary>
  210. /// <para>Inserts a response interceptor at the specified index.</para><para></para>
  211. /// </summary>
  212. /// <java-name>
  213. /// addResponseInterceptor
  214. /// </java-name>
  215. [Dot42.DexImport("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;I)V", AccessFlags = 1025)]
  216. void AddResponseInterceptor(global::Org.Apache.Http.IHttpResponseInterceptor itcp, int index) /* MethodBuilder.Create */ ;
  217. /// <summary>
  218. /// <para>Obtains the current size of this list.</para><para></para>
  219. /// </summary>
  220. /// <returns>
  221. /// <para>the number of response interceptors in this list </para>
  222. /// </returns>
  223. /// <java-name>
  224. /// getResponseInterceptorCount
  225. /// </java-name>
  226. [Dot42.DexImport("getResponseInterceptorCount", "()I", AccessFlags = 1025)]
  227. int GetResponseInterceptorCount() /* MethodBuilder.Create */ ;
  228. /// <summary>
  229. /// <para>Obtains a response interceptor from this list.</para><para></para>
  230. /// </summary>
  231. /// <returns>
  232. /// <para>the interceptor at the given index, or <code>null</code> if the index is out of range </para>
  233. /// </returns>
  234. /// <java-name>
  235. /// getResponseInterceptor
  236. /// </java-name>
  237. [Dot42.DexImport("getResponseInterceptor", "(I)Lorg/apache/http/HttpResponseInterceptor;", AccessFlags = 1025)]
  238. global::Org.Apache.Http.IHttpResponseInterceptor GetResponseInterceptor(int index) /* MethodBuilder.Create */ ;
  239. /// <summary>
  240. /// <para>Removes all response interceptors from this list. </para>
  241. /// </summary>
  242. /// <java-name>
  243. /// clearResponseInterceptors
  244. /// </java-name>
  245. [Dot42.DexImport("clearResponseInterceptors", "()V", AccessFlags = 1025)]
  246. void ClearResponseInterceptors() /* MethodBuilder.Create */ ;
  247. /// <summary>
  248. /// <para>Removes all response interceptor of the specified class</para><para></para>
  249. /// </summary>
  250. /// <java-name>
  251. /// removeResponseInterceptorByClass
  252. /// </java-name>
  253. [Dot42.DexImport("removeResponseInterceptorByClass", "(Ljava/lang/Class;)V", AccessFlags = 1025)]
  254. void RemoveResponseInterceptorByClass(global::System.Type clazz) /* MethodBuilder.Create */ ;
  255. /// <summary>
  256. /// <para>Sets the response interceptors in this list. This list will be cleared and re-initialized to contain all response interceptors from the argument list. If the argument list includes elements that are not response interceptors, the behavior is implementation dependent.</para><para></para>
  257. /// </summary>
  258. /// <java-name>
  259. /// setInterceptors
  260. /// </java-name>
  261. [Dot42.DexImport("setInterceptors", "(Ljava/util/List;)V", AccessFlags = 1025)]
  262. void SetInterceptors(global::Java.Util.IList<object> itcps) /* MethodBuilder.Create */ ;
  263. }
  264. /// <summary>
  265. /// <para>Default implementation of the HttpContext.</para><para><para></para><para></para><title>Revision:</title><para>654882 </para></para><para><para>4.0 </para></para>
  266. /// </summary>
  267. /// <java-name>
  268. /// org/apache/http/protocol/BasicHttpContext
  269. /// </java-name>
  270. [Dot42.DexImport("org/apache/http/protocol/BasicHttpContext", AccessFlags = 33)]
  271. public partial class BasicHttpContext : global::Org.Apache.Http.Protocol.IHttpContext
  272. /* scope: __dot42__ */
  273. {
  274. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  275. public BasicHttpContext() /* MethodBuilder.Create */
  276. {
  277. }
  278. [Dot42.DexImport("<init>", "(Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  279. public BasicHttpContext(global::Org.Apache.Http.Protocol.IHttpContext parentContext) /* MethodBuilder.Create */
  280. {
  281. }
  282. /// <java-name>
  283. /// getAttribute
  284. /// </java-name>
  285. [Dot42.DexImport("getAttribute", "(Ljava/lang/String;)Ljava/lang/Object;", AccessFlags = 1)]
  286. public virtual object GetAttribute(string id) /* MethodBuilder.Create */
  287. {
  288. return default(object);
  289. }
  290. /// <java-name>
  291. /// setAttribute
  292. /// </java-name>
  293. [Dot42.DexImport("setAttribute", "(Ljava/lang/String;Ljava/lang/Object;)V", AccessFlags = 1)]
  294. public virtual void SetAttribute(string id, object obj) /* MethodBuilder.Create */
  295. {
  296. }
  297. /// <java-name>
  298. /// removeAttribute
  299. /// </java-name>
  300. [Dot42.DexImport("removeAttribute", "(Ljava/lang/String;)Ljava/lang/Object;", AccessFlags = 1)]
  301. public virtual object RemoveAttribute(string id) /* MethodBuilder.Create */
  302. {
  303. return default(object);
  304. }
  305. }
  306. /// <summary>
  307. /// <para>A response interceptor that adds a Date header. For use on the server side.</para><para><para></para><para></para><title>Revision:</title><para>555989 </para></para><para><para>4.0 </para></para>
  308. /// </summary>
  309. /// <java-name>
  310. /// org/apache/http/protocol/ResponseDate
  311. /// </java-name>
  312. [Dot42.DexImport("org/apache/http/protocol/ResponseDate", AccessFlags = 33)]
  313. public partial class ResponseDate : global::Org.Apache.Http.IHttpResponseInterceptor
  314. /* scope: __dot42__ */
  315. {
  316. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  317. public ResponseDate() /* MethodBuilder.Create */
  318. {
  319. }
  320. /// <java-name>
  321. /// process
  322. /// </java-name>
  323. [Dot42.DexImport("process", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  324. public virtual void Process(global::Org.Apache.Http.IHttpResponse response, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  325. {
  326. }
  327. }
  328. /// <summary>
  329. /// <para>Defines an interface to verify whether an incoming HTTP request meets the target server's expectations. </para><para>The Expect request-header field is used to indicate that particular server behaviors are required by the client. </para><para><pre>
  330. /// Expect = "Expect" ":" 1#expectation
  331. ///
  332. /// expectation = "100-continue" | expectation-extension
  333. /// expectation-extension = token [ "=" ( token | quoted-string )
  334. /// *expect-params ]
  335. /// expect-params = ";" token [ "=" ( token | quoted-string ) ]
  336. /// *</pre> </para><para>A server that does not understand or is unable to comply with any of the expectation values in the Expect field of a request MUST respond with appropriate error status. The server MUST respond with a 417 (Expectation Failed) status if any of the expectations cannot be met or, if there are other problems with the request, some other 4xx status. </para><para><para></para><para></para><title>Revision:</title><para>613298 </para></para><para><para>4.0 </para></para>
  337. /// </summary>
  338. /// <java-name>
  339. /// org/apache/http/protocol/HttpExpectationVerifier
  340. /// </java-name>
  341. [Dot42.DexImport("org/apache/http/protocol/HttpExpectationVerifier", AccessFlags = 1537)]
  342. public partial interface IHttpExpectationVerifier
  343. /* scope: __dot42__ */
  344. {
  345. /// <java-name>
  346. /// verify
  347. /// </java-name>
  348. [Dot42.DexImport("verify", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/HttpResponse;Lorg/apache/http/prot" +
  349. "ocol/HttpContext;)V", AccessFlags = 1025)]
  350. void Verify(global::Org.Apache.Http.IHttpRequest request, global::Org.Apache.Http.IHttpResponse response, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */ ;
  351. }
  352. /// <summary>
  353. /// <para>A request interceptor that suggests connection keep-alive to the server.</para><para><para></para><para></para><title>Revision:</title><para>496070 </para></para><para><para>4.0 </para></para>
  354. /// </summary>
  355. /// <java-name>
  356. /// org/apache/http/protocol/RequestConnControl
  357. /// </java-name>
  358. [Dot42.DexImport("org/apache/http/protocol/RequestConnControl", AccessFlags = 33)]
  359. public partial class RequestConnControl : global::Org.Apache.Http.IHttpRequestInterceptor
  360. /* scope: __dot42__ */
  361. {
  362. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  363. public RequestConnControl() /* MethodBuilder.Create */
  364. {
  365. }
  366. /// <java-name>
  367. /// process
  368. /// </java-name>
  369. [Dot42.DexImport("process", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  370. public virtual void Process(global::Org.Apache.Http.IHttpRequest request, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  371. {
  372. }
  373. }
  374. /// <summary>
  375. /// <para>Constants and static helpers related to the HTTP protocol.</para><para><para></para><para></para><title>Revision:</title><para>555989 </para></para><para><para>4.0 </para></para>
  376. /// </summary>
  377. /// <java-name>
  378. /// org/apache/http/protocol/HTTP
  379. /// </java-name>
  380. [Dot42.DexImport("org/apache/http/protocol/HTTP", AccessFlags = 49)]
  381. public sealed partial class HTTP
  382. /* scope: __dot42__ */
  383. {
  384. /// <java-name>
  385. /// CR
  386. /// </java-name>
  387. [Dot42.DexImport("CR", "I", AccessFlags = 25)]
  388. public const int CR = 13;
  389. /// <java-name>
  390. /// LF
  391. /// </java-name>
  392. [Dot42.DexImport("LF", "I", AccessFlags = 25)]
  393. public const int LF = 10;
  394. /// <java-name>
  395. /// SP
  396. /// </java-name>
  397. [Dot42.DexImport("SP", "I", AccessFlags = 25)]
  398. public const int SP = 32;
  399. /// <java-name>
  400. /// HT
  401. /// </java-name>
  402. [Dot42.DexImport("HT", "I", AccessFlags = 25)]
  403. public const int HT = 9;
  404. /// <summary>
  405. /// <para>HTTP header definitions </para>
  406. /// </summary>
  407. /// <java-name>
  408. /// TRANSFER_ENCODING
  409. /// </java-name>
  410. [Dot42.DexImport("TRANSFER_ENCODING", "Ljava/lang/String;", AccessFlags = 25)]
  411. public const string TRANSFER_ENCODING = "Transfer-Encoding";
  412. /// <java-name>
  413. /// CONTENT_LEN
  414. /// </java-name>
  415. [Dot42.DexImport("CONTENT_LEN", "Ljava/lang/String;", AccessFlags = 25)]
  416. public const string CONTENT_LEN = "Content-Length";
  417. /// <java-name>
  418. /// CONTENT_TYPE
  419. /// </java-name>
  420. [Dot42.DexImport("CONTENT_TYPE", "Ljava/lang/String;", AccessFlags = 25)]
  421. public const string CONTENT_TYPE = "Content-Type";
  422. /// <java-name>
  423. /// CONTENT_ENCODING
  424. /// </java-name>
  425. [Dot42.DexImport("CONTENT_ENCODING", "Ljava/lang/String;", AccessFlags = 25)]
  426. public const string CONTENT_ENCODING = "Content-Encoding";
  427. /// <java-name>
  428. /// EXPECT_DIRECTIVE
  429. /// </java-name>
  430. [Dot42.DexImport("EXPECT_DIRECTIVE", "Ljava/lang/String;", AccessFlags = 25)]
  431. public const string EXPECT_DIRECTIVE = "Expect";
  432. /// <java-name>
  433. /// CONN_DIRECTIVE
  434. /// </java-name>
  435. [Dot42.DexImport("CONN_DIRECTIVE", "Ljava/lang/String;", AccessFlags = 25)]
  436. public const string CONN_DIRECTIVE = "Connection";
  437. /// <java-name>
  438. /// TARGET_HOST
  439. /// </java-name>
  440. [Dot42.DexImport("TARGET_HOST", "Ljava/lang/String;", AccessFlags = 25)]
  441. public const string TARGET_HOST = "Host";
  442. /// <java-name>
  443. /// USER_AGENT
  444. /// </java-name>
  445. [Dot42.DexImport("USER_AGENT", "Ljava/lang/String;", AccessFlags = 25)]
  446. public const string USER_AGENT = "User-Agent";
  447. /// <java-name>
  448. /// DATE_HEADER
  449. /// </java-name>
  450. [Dot42.DexImport("DATE_HEADER", "Ljava/lang/String;", AccessFlags = 25)]
  451. public const string DATE_HEADER = "Date";
  452. /// <java-name>
  453. /// SERVER_HEADER
  454. /// </java-name>
  455. [Dot42.DexImport("SERVER_HEADER", "Ljava/lang/String;", AccessFlags = 25)]
  456. public const string SERVER_HEADER = "Server";
  457. /// <summary>
  458. /// <para>HTTP expectations </para>
  459. /// </summary>
  460. /// <java-name>
  461. /// EXPECT_CONTINUE
  462. /// </java-name>
  463. [Dot42.DexImport("EXPECT_CONTINUE", "Ljava/lang/String;", AccessFlags = 25)]
  464. public const string EXPECT_CONTINUE = "100-Continue";
  465. /// <summary>
  466. /// <para>HTTP connection control </para>
  467. /// </summary>
  468. /// <java-name>
  469. /// CONN_CLOSE
  470. /// </java-name>
  471. [Dot42.DexImport("CONN_CLOSE", "Ljava/lang/String;", AccessFlags = 25)]
  472. public const string CONN_CLOSE = "Close";
  473. /// <java-name>
  474. /// CONN_KEEP_ALIVE
  475. /// </java-name>
  476. [Dot42.DexImport("CONN_KEEP_ALIVE", "Ljava/lang/String;", AccessFlags = 25)]
  477. public const string CONN_KEEP_ALIVE = "Keep-Alive";
  478. /// <summary>
  479. /// <para>Transfer encoding definitions </para>
  480. /// </summary>
  481. /// <java-name>
  482. /// CHUNK_CODING
  483. /// </java-name>
  484. [Dot42.DexImport("CHUNK_CODING", "Ljava/lang/String;", AccessFlags = 25)]
  485. public const string CHUNK_CODING = "chunked";
  486. /// <java-name>
  487. /// IDENTITY_CODING
  488. /// </java-name>
  489. [Dot42.DexImport("IDENTITY_CODING", "Ljava/lang/String;", AccessFlags = 25)]
  490. public const string IDENTITY_CODING = "identity";
  491. /// <summary>
  492. /// <para>Common charset definitions </para>
  493. /// </summary>
  494. /// <java-name>
  495. /// UTF_8
  496. /// </java-name>
  497. [Dot42.DexImport("UTF_8", "Ljava/lang/String;", AccessFlags = 25)]
  498. public const string UTF_8 = "UTF-8";
  499. /// <java-name>
  500. /// UTF_16
  501. /// </java-name>
  502. [Dot42.DexImport("UTF_16", "Ljava/lang/String;", AccessFlags = 25)]
  503. public const string UTF_16 = "UTF-16";
  504. /// <java-name>
  505. /// US_ASCII
  506. /// </java-name>
  507. [Dot42.DexImport("US_ASCII", "Ljava/lang/String;", AccessFlags = 25)]
  508. public const string US_ASCII = "US-ASCII";
  509. /// <java-name>
  510. /// ASCII
  511. /// </java-name>
  512. [Dot42.DexImport("ASCII", "Ljava/lang/String;", AccessFlags = 25)]
  513. public const string ASCII = "ASCII";
  514. /// <java-name>
  515. /// ISO_8859_1
  516. /// </java-name>
  517. [Dot42.DexImport("ISO_8859_1", "Ljava/lang/String;", AccessFlags = 25)]
  518. public const string ISO_8859_1 = "ISO-8859-1";
  519. /// <summary>
  520. /// <para>Default charsets </para>
  521. /// </summary>
  522. /// <java-name>
  523. /// DEFAULT_CONTENT_CHARSET
  524. /// </java-name>
  525. [Dot42.DexImport("DEFAULT_CONTENT_CHARSET", "Ljava/lang/String;", AccessFlags = 25)]
  526. public const string DEFAULT_CONTENT_CHARSET = "ISO-8859-1";
  527. /// <java-name>
  528. /// DEFAULT_PROTOCOL_CHARSET
  529. /// </java-name>
  530. [Dot42.DexImport("DEFAULT_PROTOCOL_CHARSET", "Ljava/lang/String;", AccessFlags = 25)]
  531. public const string DEFAULT_PROTOCOL_CHARSET = "US-ASCII";
  532. /// <summary>
  533. /// <para>Content type definitions </para>
  534. /// </summary>
  535. /// <java-name>
  536. /// OCTET_STREAM_TYPE
  537. /// </java-name>
  538. [Dot42.DexImport("OCTET_STREAM_TYPE", "Ljava/lang/String;", AccessFlags = 25)]
  539. public const string OCTET_STREAM_TYPE = "application/octet-stream";
  540. /// <java-name>
  541. /// PLAIN_TEXT_TYPE
  542. /// </java-name>
  543. [Dot42.DexImport("PLAIN_TEXT_TYPE", "Ljava/lang/String;", AccessFlags = 25)]
  544. public const string PLAIN_TEXT_TYPE = "text/plain";
  545. /// <java-name>
  546. /// CHARSET_PARAM
  547. /// </java-name>
  548. [Dot42.DexImport("CHARSET_PARAM", "Ljava/lang/String;", AccessFlags = 25)]
  549. public const string CHARSET_PARAM = "; charset=";
  550. /// <summary>
  551. /// <para>Default content type </para>
  552. /// </summary>
  553. /// <java-name>
  554. /// DEFAULT_CONTENT_TYPE
  555. /// </java-name>
  556. [Dot42.DexImport("DEFAULT_CONTENT_TYPE", "Ljava/lang/String;", AccessFlags = 25)]
  557. public const string DEFAULT_CONTENT_TYPE = "application/octet-stream";
  558. [Dot42.DexImport("<init>", "()V", AccessFlags = 0)]
  559. internal HTTP() /* MethodBuilder.Create */
  560. {
  561. }
  562. /// <java-name>
  563. /// isWhitespace
  564. /// </java-name>
  565. [Dot42.DexImport("isWhitespace", "(C)Z", AccessFlags = 9)]
  566. public static bool IsWhitespace(char ch) /* MethodBuilder.Create */
  567. {
  568. return default(bool);
  569. }
  570. }
  571. /// <summary>
  572. /// <para>A request interceptor that adds a Date header. For use on the client side.</para><para><para></para><para></para><title>Revision:</title><para>555989 </para></para><para><para>4.0 </para></para>
  573. /// </summary>
  574. /// <java-name>
  575. /// org/apache/http/protocol/RequestDate
  576. /// </java-name>
  577. [Dot42.DexImport("org/apache/http/protocol/RequestDate", AccessFlags = 33)]
  578. public partial class RequestDate : global::Org.Apache.Http.IHttpRequestInterceptor
  579. /* scope: __dot42__ */
  580. {
  581. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  582. public RequestDate() /* MethodBuilder.Create */
  583. {
  584. }
  585. /// <java-name>
  586. /// process
  587. /// </java-name>
  588. [Dot42.DexImport("process", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  589. public virtual void Process(global::Org.Apache.Http.IHttpRequest request, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  590. {
  591. }
  592. }
  593. /// <summary>
  594. /// <para>A request interceptor that sets the Host header for HTTP/1.1 requests.</para><para><para></para><para></para><title>Revision:</title><para>573864 </para></para><para><para>4.0 </para></para>
  595. /// </summary>
  596. /// <java-name>
  597. /// org/apache/http/protocol/RequestTargetHost
  598. /// </java-name>
  599. [Dot42.DexImport("org/apache/http/protocol/RequestTargetHost", AccessFlags = 33)]
  600. public partial class RequestTargetHost : global::Org.Apache.Http.IHttpRequestInterceptor
  601. /* scope: __dot42__ */
  602. {
  603. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  604. public RequestTargetHost() /* MethodBuilder.Create */
  605. {
  606. }
  607. /// <java-name>
  608. /// process
  609. /// </java-name>
  610. [Dot42.DexImport("process", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  611. public virtual void Process(global::Org.Apache.Http.IHttpRequest request, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  612. {
  613. }
  614. }
  615. /// <summary>
  616. /// <para>Minimalistic server-side implementation of an HTTP processor.</para><para><para></para><para></para><title>Revision:</title><para>610763 </para></para>
  617. /// </summary>
  618. /// <java-name>
  619. /// org/apache/http/protocol/HttpService
  620. /// </java-name>
  621. [Dot42.DexImport("org/apache/http/protocol/HttpService", AccessFlags = 33)]
  622. public partial class HttpService
  623. /* scope: __dot42__ */
  624. {
  625. /// <summary>
  626. /// <para>Create a new HTTP service.</para><para></para>
  627. /// </summary>
  628. [Dot42.DexImport("<init>", "(Lorg/apache/http/protocol/HttpProcessor;Lorg/apache/http/ConnectionReuseStrategy" +
  629. ";Lorg/apache/http/HttpResponseFactory;)V", AccessFlags = 1)]
  630. public HttpService(global::Org.Apache.Http.Protocol.IHttpProcessor proc, global::Org.Apache.Http.IConnectionReuseStrategy connStrategy, global::Org.Apache.Http.IHttpResponseFactory responseFactory) /* MethodBuilder.Create */
  631. {
  632. }
  633. /// <java-name>
  634. /// setHttpProcessor
  635. /// </java-name>
  636. [Dot42.DexImport("setHttpProcessor", "(Lorg/apache/http/protocol/HttpProcessor;)V", AccessFlags = 1)]
  637. public virtual void SetHttpProcessor(global::Org.Apache.Http.Protocol.IHttpProcessor processor) /* MethodBuilder.Create */
  638. {
  639. }
  640. /// <java-name>
  641. /// setConnReuseStrategy
  642. /// </java-name>
  643. [Dot42.DexImport("setConnReuseStrategy", "(Lorg/apache/http/ConnectionReuseStrategy;)V", AccessFlags = 1)]
  644. public virtual void SetConnReuseStrategy(global::Org.Apache.Http.IConnectionReuseStrategy connStrategy) /* MethodBuilder.Create */
  645. {
  646. }
  647. /// <java-name>
  648. /// setResponseFactory
  649. /// </java-name>
  650. [Dot42.DexImport("setResponseFactory", "(Lorg/apache/http/HttpResponseFactory;)V", AccessFlags = 1)]
  651. public virtual void SetResponseFactory(global::Org.Apache.Http.IHttpResponseFactory responseFactory) /* MethodBuilder.Create */
  652. {
  653. }
  654. /// <java-name>
  655. /// setHandlerResolver
  656. /// </java-name>
  657. [Dot42.DexImport("setHandlerResolver", "(Lorg/apache/http/protocol/HttpRequestHandlerResolver;)V", AccessFlags = 1)]
  658. public virtual void SetHandlerResolver(global::Org.Apache.Http.Protocol.IHttpRequestHandlerResolver handlerResolver) /* MethodBuilder.Create */
  659. {
  660. }
  661. /// <java-name>
  662. /// setExpectationVerifier
  663. /// </java-name>
  664. [Dot42.DexImport("setExpectationVerifier", "(Lorg/apache/http/protocol/HttpExpectationVerifier;)V", AccessFlags = 1)]
  665. public virtual void SetExpectationVerifier(global::Org.Apache.Http.Protocol.IHttpExpectationVerifier expectationVerifier) /* MethodBuilder.Create */
  666. {
  667. }
  668. /// <java-name>
  669. /// getParams
  670. /// </java-name>
  671. [Dot42.DexImport("getParams", "()Lorg/apache/http/params/HttpParams;", AccessFlags = 1)]
  672. public virtual global::Org.Apache.Http.Params.IHttpParams GetParams() /* MethodBuilder.Create */
  673. {
  674. return default(global::Org.Apache.Http.Params.IHttpParams);
  675. }
  676. /// <java-name>
  677. /// setParams
  678. /// </java-name>
  679. [Dot42.DexImport("setParams", "(Lorg/apache/http/params/HttpParams;)V", AccessFlags = 1)]
  680. public virtual void SetParams(global::Org.Apache.Http.Params.IHttpParams @params) /* MethodBuilder.Create */
  681. {
  682. }
  683. /// <java-name>
  684. /// handleRequest
  685. /// </java-name>
  686. [Dot42.DexImport("handleRequest", "(Lorg/apache/http/HttpServerConnection;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  687. public virtual void HandleRequest(global::Org.Apache.Http.IHttpServerConnection conn, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  688. {
  689. }
  690. /// <java-name>
  691. /// handleException
  692. /// </java-name>
  693. [Dot42.DexImport("handleException", "(Lorg/apache/http/HttpException;Lorg/apache/http/HttpResponse;)V", AccessFlags = 4)]
  694. protected internal virtual void HandleException(global::Org.Apache.Http.HttpException ex, global::Org.Apache.Http.IHttpResponse response) /* MethodBuilder.Create */
  695. {
  696. }
  697. /// <java-name>
  698. /// doService
  699. /// </java-name>
  700. [Dot42.DexImport("doService", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/HttpResponse;Lorg/apache/http/prot" +
  701. "ocol/HttpContext;)V", AccessFlags = 4)]
  702. protected internal virtual void DoService(global::Org.Apache.Http.IHttpRequest request, global::Org.Apache.Http.IHttpResponse response, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  703. {
  704. }
  705. [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
  706. internal HttpService() /* TypeBuilder.AddDefaultConstructor */
  707. {
  708. }
  709. /// <java-name>
  710. /// getParams
  711. /// </java-name>
  712. public global::Org.Apache.Http.Params.IHttpParams Params
  713. {
  714. [Dot42.DexImport("getParams", "()Lorg/apache/http/params/HttpParams;", AccessFlags = 1)]
  715. get{ return GetParams(); }
  716. [Dot42.DexImport("setParams", "(Lorg/apache/http/params/HttpParams;)V", AccessFlags = 1)]
  717. set{ SetParams(value); }
  718. }
  719. }
  720. /// <summary>
  721. /// <para>Interface to be implemented by objects that can resolve HttpRequestHandler instances by request URI.</para><para><para></para><para></para><title>Revision:</title><para>613298 </para></para>
  722. /// </summary>
  723. /// <java-name>
  724. /// org/apache/http/protocol/HttpRequestHandlerResolver
  725. /// </java-name>
  726. [Dot42.DexImport("org/apache/http/protocol/HttpRequestHandlerResolver", AccessFlags = 1537)]
  727. public partial interface IHttpRequestHandlerResolver
  728. /* scope: __dot42__ */
  729. {
  730. /// <java-name>
  731. /// lookup
  732. /// </java-name>
  733. [Dot42.DexImport("lookup", "(Ljava/lang/String;)Lorg/apache/http/protocol/HttpRequestHandler;", AccessFlags = 1025)]
  734. global::Org.Apache.Http.Protocol.IHttpRequestHandler Lookup(string requestURI) /* MethodBuilder.Create */ ;
  735. }
  736. /// <summary>
  737. /// <para>HttpContext implementation that delegates resolution of an attribute to the given default HttpContext instance if the attribute is not present in the local one. The state of the local context can be mutated, whereas the default context is treated as read-only.</para><para><para></para><para></para><title>Revision:</title><para>654882 </para></para>
  738. /// </summary>
  739. /// <java-name>
  740. /// org/apache/http/protocol/DefaultedHttpContext
  741. /// </java-name>
  742. [Dot42.DexImport("org/apache/http/protocol/DefaultedHttpContext", AccessFlags = 49)]
  743. public sealed partial class DefaultedHttpContext : global::Org.Apache.Http.Protocol.IHttpContext
  744. /* scope: __dot42__ */
  745. {
  746. [Dot42.DexImport("<init>", "(Lorg/apache/http/protocol/HttpContext;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  747. public DefaultedHttpContext(global::Org.Apache.Http.Protocol.IHttpContext local, global::Org.Apache.Http.Protocol.IHttpContext defaults) /* MethodBuilder.Create */
  748. {
  749. }
  750. /// <java-name>
  751. /// getAttribute
  752. /// </java-name>
  753. [Dot42.DexImport("getAttribute", "(Ljava/lang/String;)Ljava/lang/Object;", AccessFlags = 1)]
  754. public object GetAttribute(string id) /* MethodBuilder.Create */
  755. {
  756. return default(object);
  757. }
  758. /// <java-name>
  759. /// removeAttribute
  760. /// </java-name>
  761. [Dot42.DexImport("removeAttribute", "(Ljava/lang/String;)Ljava/lang/Object;", AccessFlags = 1)]
  762. public object RemoveAttribute(string id) /* MethodBuilder.Create */
  763. {
  764. return default(object);
  765. }
  766. /// <java-name>
  767. /// setAttribute
  768. /// </java-name>
  769. [Dot42.DexImport("setAttribute", "(Ljava/lang/String;Ljava/lang/Object;)V", AccessFlags = 1)]
  770. public void SetAttribute(string id, object obj) /* MethodBuilder.Create */
  771. {
  772. }
  773. /// <java-name>
  774. /// getDefaults
  775. /// </java-name>
  776. [Dot42.DexImport("getDefaults", "()Lorg/apache/http/protocol/HttpContext;", AccessFlags = 1)]
  777. public global::Org.Apache.Http.Protocol.IHttpContext GetDefaults() /* MethodBuilder.Create */
  778. {
  779. return default(global::Org.Apache.Http.Protocol.IHttpContext);
  780. }
  781. [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
  782. internal DefaultedHttpContext() /* TypeBuilder.AddDefaultConstructor */
  783. {
  784. }
  785. /// <java-name>
  786. /// getDefaults
  787. /// </java-name>
  788. public global::Org.Apache.Http.Protocol.IHttpContext Defaults
  789. {
  790. [Dot42.DexImport("getDefaults", "()Lorg/apache/http/protocol/HttpContext;", AccessFlags = 1)]
  791. get{ return GetDefaults(); }
  792. }
  793. }
  794. /// <summary>
  795. /// <para>Sends HTTP requests and receives the responses. Takes care of request preprocessing and response postprocessing by the respective interceptors.</para><para><para></para><para></para><title>Revision:</title><para>576073 </para></para><para><para>4.0 </para></para>
  796. /// </summary>
  797. /// <java-name>
  798. /// org/apache/http/protocol/HttpRequestExecutor
  799. /// </java-name>
  800. [Dot42.DexImport("org/apache/http/protocol/HttpRequestExecutor", AccessFlags = 33)]
  801. public partial class HttpRequestExecutor
  802. /* scope: __dot42__ */
  803. {
  804. /// <summary>
  805. /// <para>Create a new request executor. </para>
  806. /// </summary>
  807. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  808. public HttpRequestExecutor() /* MethodBuilder.Create */
  809. {
  810. }
  811. /// <summary>
  812. /// <para>Decide whether a response comes with an entity. The implementation in this class is based on RFC 2616. Unknown methods and response codes are supposed to indicate responses with an entity. <br></br> Derived executors can override this method to handle methods and response codes not specified in RFC 2616.</para><para></para>
  813. /// </summary>
  814. /// <java-name>
  815. /// canResponseHaveBody
  816. /// </java-name>
  817. [Dot42.DexImport("canResponseHaveBody", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/HttpResponse;)Z", AccessFlags = 4)]
  818. protected internal virtual bool CanResponseHaveBody(global::Org.Apache.Http.IHttpRequest request, global::Org.Apache.Http.IHttpResponse response) /* MethodBuilder.Create */
  819. {
  820. return default(bool);
  821. }
  822. /// <summary>
  823. /// <para>Synchronously send a request and obtain the response.</para><para></para>
  824. /// </summary>
  825. /// <returns>
  826. /// <para>the response to the request, postprocessed</para>
  827. /// </returns>
  828. /// <java-name>
  829. /// execute
  830. /// </java-name>
  831. [Dot42.DexImport("execute", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/HttpClientConnection;Lorg/apache/h" +
  832. "ttp/protocol/HttpContext;)Lorg/apache/http/HttpResponse;", AccessFlags = 1)]
  833. public virtual global::Org.Apache.Http.IHttpResponse Execute(global::Org.Apache.Http.IHttpRequest request, global::Org.Apache.Http.IHttpClientConnection conn, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  834. {
  835. return default(global::Org.Apache.Http.IHttpResponse);
  836. }
  837. /// <summary>
  838. /// <para>Prepare a request for sending.</para><para></para>
  839. /// </summary>
  840. /// <java-name>
  841. /// preProcess
  842. /// </java-name>
  843. [Dot42.DexImport("preProcess", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpProcessor;Lorg/apache" +
  844. "/http/protocol/HttpContext;)V", AccessFlags = 1)]
  845. public virtual void PreProcess(global::Org.Apache.Http.IHttpRequest request, global::Org.Apache.Http.Protocol.IHttpProcessor processor, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  846. {
  847. }
  848. /// <summary>
  849. /// <para>Send a request over a connection. This method also handles the expect-continue handshake if necessary. If it does not have to handle an expect-continue handshake, it will not use the connection for reading or anything else that depends on data coming in over the connection.</para><para></para>
  850. /// </summary>
  851. /// <returns>
  852. /// <para>a terminal response received as part of an expect-continue handshake, or <code>null</code> if the expect-continue handshake is not used</para>
  853. /// </returns>
  854. /// <java-name>
  855. /// doSendRequest
  856. /// </java-name>
  857. [Dot42.DexImport("doSendRequest", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/HttpClientConnection;Lorg/apache/h" +
  858. "ttp/protocol/HttpContext;)Lorg/apache/http/HttpResponse;", AccessFlags = 4)]
  859. protected internal virtual global::Org.Apache.Http.IHttpResponse DoSendRequest(global::Org.Apache.Http.IHttpRequest request, global::Org.Apache.Http.IHttpClientConnection conn, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  860. {
  861. return default(global::Org.Apache.Http.IHttpResponse);
  862. }
  863. /// <summary>
  864. /// <para>Wait for and receive a response. This method will automatically ignore intermediate responses with status code 1xx.</para><para></para>
  865. /// </summary>
  866. /// <returns>
  867. /// <para>the final response, not yet post-processed</para>
  868. /// </returns>
  869. /// <java-name>
  870. /// doReceiveResponse
  871. /// </java-name>
  872. [Dot42.DexImport("doReceiveResponse", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/HttpClientConnection;Lorg/apache/h" +
  873. "ttp/protocol/HttpContext;)Lorg/apache/http/HttpResponse;", AccessFlags = 4)]
  874. protected internal virtual global::Org.Apache.Http.IHttpResponse DoReceiveResponse(global::Org.Apache.Http.IHttpRequest request, global::Org.Apache.Http.IHttpClientConnection conn, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  875. {
  876. return default(global::Org.Apache.Http.IHttpResponse);
  877. }
  878. /// <summary>
  879. /// <para>Finish a response. This includes post-processing of the response object. It does <b>not</b> read the response entity, if any. It does <b>not</b> allow for immediate re-use of the connection over which the response is coming in.</para><para></para>
  880. /// </summary>
  881. /// <java-name>
  882. /// postProcess
  883. /// </java-name>
  884. [Dot42.DexImport("postProcess", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpProcessor;Lorg/apach" +
  885. "e/http/protocol/HttpContext;)V", AccessFlags = 1)]
  886. public virtual void PostProcess(global::Org.Apache.Http.IHttpResponse response, global::Org.Apache.Http.Protocol.IHttpProcessor processor, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  887. {
  888. }
  889. }
  890. /// <summary>
  891. /// <para>Keeps lists of interceptors for processing requests and responses.</para><para><para> </para><simplesectsep></simplesectsep><para>Andrea Selva</para><para></para><title>Revision:</title><para>613298 </para></para><para><para>4.0 </para></para>
  892. /// </summary>
  893. /// <java-name>
  894. /// org/apache/http/protocol/BasicHttpProcessor
  895. /// </java-name>
  896. [Dot42.DexImport("org/apache/http/protocol/BasicHttpProcessor", AccessFlags = 49)]
  897. public sealed partial class BasicHttpProcessor : global::Org.Apache.Http.Protocol.IHttpProcessor, global::Org.Apache.Http.Protocol.IHttpRequestInterceptorList, global::Org.Apache.Http.Protocol.IHttpResponseInterceptorList, global::Java.Lang.ICloneable
  898. /* scope: __dot42__ */
  899. {
  900. /// <java-name>
  901. /// requestInterceptors
  902. /// </java-name>
  903. [Dot42.DexImport("requestInterceptors", "Ljava/util/List;", AccessFlags = 4)]
  904. internal global::Java.Util.IList<object> RequestInterceptors;
  905. /// <java-name>
  906. /// responseInterceptors
  907. /// </java-name>
  908. [Dot42.DexImport("responseInterceptors", "Ljava/util/List;", AccessFlags = 4)]
  909. internal global::Java.Util.IList<object> ResponseInterceptors;
  910. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  911. public BasicHttpProcessor() /* MethodBuilder.Create */
  912. {
  913. }
  914. /// <java-name>
  915. /// addRequestInterceptor
  916. /// </java-name>
  917. [Dot42.DexImport("addRequestInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;)V", AccessFlags = 1)]
  918. public void AddRequestInterceptor(global::Org.Apache.Http.IHttpRequestInterceptor itcp) /* MethodBuilder.Create */
  919. {
  920. }
  921. /// <java-name>
  922. /// addRequestInterceptor
  923. /// </java-name>
  924. [Dot42.DexImport("addRequestInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;I)V", AccessFlags = 1)]
  925. public void AddRequestInterceptor(global::Org.Apache.Http.IHttpRequestInterceptor itcp, int index) /* MethodBuilder.Create */
  926. {
  927. }
  928. /// <summary>
  929. /// <para>Inserts a response interceptor at the specified index.</para><para></para>
  930. /// </summary>
  931. /// <java-name>
  932. /// addResponseInterceptor
  933. /// </java-name>
  934. [Dot42.DexImport("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;I)V", AccessFlags = 1)]
  935. public void AddResponseInterceptor(global::Org.Apache.Http.IHttpResponseInterceptor itcp, int index) /* MethodBuilder.Create */
  936. {
  937. }
  938. /// <java-name>
  939. /// removeRequestInterceptorByClass
  940. /// </java-name>
  941. [Dot42.DexImport("removeRequestInterceptorByClass", "(Ljava/lang/Class;)V", AccessFlags = 1)]
  942. public void RemoveRequestInterceptorByClass(global::System.Type clazz) /* MethodBuilder.Create */
  943. {
  944. }
  945. /// <java-name>
  946. /// removeResponseInterceptorByClass
  947. /// </java-name>
  948. [Dot42.DexImport("removeResponseInterceptorByClass", "(Ljava/lang/Class;)V", AccessFlags = 1)]
  949. public void RemoveResponseInterceptorByClass(global::System.Type clazz) /* MethodBuilder.Create */
  950. {
  951. }
  952. /// <summary>
  953. /// <para>Same as addRequestInterceptor.</para><para></para>
  954. /// </summary>
  955. /// <java-name>
  956. /// addInterceptor
  957. /// </java-name>
  958. [Dot42.DexImport("addInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;)V", AccessFlags = 17)]
  959. public void AddInterceptor(global::Org.Apache.Http.IHttpRequestInterceptor interceptor) /* MethodBuilder.Create */
  960. {
  961. }
  962. /// <java-name>
  963. /// addInterceptor
  964. /// </java-name>
  965. [Dot42.DexImport("addInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;I)V", AccessFlags = 17)]
  966. public void AddInterceptor(global::Org.Apache.Http.IHttpRequestInterceptor interceptor, int index) /* MethodBuilder.Create */
  967. {
  968. }
  969. /// <summary>
  970. /// <para>Obtains the current size of this list.</para><para></para>
  971. /// </summary>
  972. /// <returns>
  973. /// <para>the number of request interceptors in this list </para>
  974. /// </returns>
  975. /// <java-name>
  976. /// getRequestInterceptorCount
  977. /// </java-name>
  978. [Dot42.DexImport("getRequestInterceptorCount", "()I", AccessFlags = 1)]
  979. public int GetRequestInterceptorCount() /* MethodBuilder.Create */
  980. {
  981. return default(int);
  982. }
  983. /// <summary>
  984. /// <para>Obtains a request interceptor from this list.</para><para></para>
  985. /// </summary>
  986. /// <returns>
  987. /// <para>the interceptor at the given index, or <code>null</code> if the index is out of range </para>
  988. /// </returns>
  989. /// <java-name>
  990. /// getRequestInterceptor
  991. /// </java-name>
  992. [Dot42.DexImport("getRequestInterceptor", "(I)Lorg/apache/http/HttpRequestInterceptor;", AccessFlags = 1)]
  993. public global::Org.Apache.Http.IHttpRequestInterceptor GetRequestInterceptor(int index) /* MethodBuilder.Create */
  994. {
  995. return default(global::Org.Apache.Http.IHttpRequestInterceptor);
  996. }
  997. /// <summary>
  998. /// <para>Removes all request interceptors from this list. </para>
  999. /// </summary>
  1000. /// <java-name>
  1001. /// clearRequestInterceptors
  1002. /// </java-name>
  1003. [Dot42.DexImport("clearRequestInterceptors", "()V", AccessFlags = 1)]
  1004. public void ClearRequestInterceptors() /* MethodBuilder.Create */
  1005. {
  1006. }
  1007. /// <java-name>
  1008. /// addResponseInterceptor
  1009. /// </java-name>
  1010. [Dot42.DexImport("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;)V", AccessFlags = 1)]
  1011. public void AddResponseInterceptor(global::Org.Apache.Http.IHttpResponseInterceptor itcp) /* MethodBuilder.Create */
  1012. {
  1013. }
  1014. /// <summary>
  1015. /// <para>Same as addRequestInterceptor.</para><para></para>
  1016. /// </summary>
  1017. /// <java-name>
  1018. /// addInterceptor
  1019. /// </java-name>
  1020. [Dot42.DexImport("addInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;)V", AccessFlags = 17)]
  1021. public void AddInterceptor(global::Org.Apache.Http.IHttpResponseInterceptor interceptor) /* MethodBuilder.Create */
  1022. {
  1023. }
  1024. /// <java-name>
  1025. /// addInterceptor
  1026. /// </java-name>
  1027. [Dot42.DexImport("addInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;I)V", AccessFlags = 17)]
  1028. public void AddInterceptor(global::Org.Apache.Http.IHttpResponseInterceptor interceptor, int index) /* MethodBuilder.Create */
  1029. {
  1030. }
  1031. /// <summary>
  1032. /// <para>Obtains the current size of this list.</para><para></para>
  1033. /// </summary>
  1034. /// <returns>
  1035. /// <para>the number of response interceptors in this list </para>
  1036. /// </returns>
  1037. /// <java-name>
  1038. /// getResponseInterceptorCount
  1039. /// </java-name>
  1040. [Dot42.DexImport("getResponseInterceptorCount", "()I", AccessFlags = 1)]
  1041. public int GetResponseInterceptorCount() /* MethodBuilder.Create */
  1042. {
  1043. return default(int);
  1044. }
  1045. /// <summary>
  1046. /// <para>Obtains a response interceptor from this list.</para><para></para>
  1047. /// </summary>
  1048. /// <returns>
  1049. /// <para>the interceptor at the given index, or <code>null</code> if the index is out of range </para>
  1050. /// </returns>
  1051. /// <java-name>
  1052. /// getResponseInterceptor
  1053. /// </java-name>
  1054. [Dot42.DexImport("getResponseInterceptor", "(I)Lorg/apache/http/HttpResponseInterceptor;", AccessFlags = 1)]
  1055. public global::Org.Apache.Http.IHttpResponseInterceptor GetResponseInterceptor(int index) /* MethodBuilder.Create */
  1056. {
  1057. return default(global::Org.Apache.Http.IHttpResponseInterceptor);
  1058. }
  1059. /// <summary>
  1060. /// <para>Removes all response interceptors from this list. </para>
  1061. /// </summary>
  1062. /// <java-name>
  1063. /// clearResponseInterceptors
  1064. /// </java-name>
  1065. [Dot42.DexImport("clearResponseInterceptors", "()V", AccessFlags = 1)]
  1066. public void ClearResponseInterceptors() /* MethodBuilder.Create */
  1067. {
  1068. }
  1069. /// <summary>
  1070. /// <para>Sets the interceptor lists. First, both interceptor lists maintained by this processor will be cleared. Subsequently, elements of the argument list that are request interceptors will be added to the request interceptor list. Elements that are response interceptors will be added to the response interceptor list. Elements that are both request and response interceptor will be added to both lists. Elements that are neither request nor response interceptor will be ignored.</para><para></para>
  1071. /// </summary>
  1072. /// <java-name>
  1073. /// setInterceptors
  1074. /// </java-name>
  1075. [Dot42.DexImport("setInterceptors", "(Ljava/util/List;)V", AccessFlags = 1)]
  1076. public void SetInterceptors(global::Java.Util.IList<object> list) /* MethodBuilder.Create */
  1077. {
  1078. }
  1079. /// <summary>
  1080. /// <para>C