PageRenderTime 28ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/Generated/v4.3/Org.Apache.Http.Protocol.cs

https://gitlab.com/Pfhoenix/api
C# | 1222 lines | 492 code | 106 blank | 624 comment | 0 complexity | b6ff839a8025a9505fe0b08f64ed21a8 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>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>
  21. /// </summary>
  22. /// <java-name>
  23. /// org/apache/http/protocol/BasicHttpProcessor
  24. /// </java-name>
  25. [Dot42.DexImport("org/apache/http/protocol/BasicHttpProcessor", AccessFlags = 49)]
  26. 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
  27. /* scope: __dot42__ */
  28. {
  29. /// <java-name>
  30. /// requestInterceptors
  31. /// </java-name>
  32. [Dot42.DexImport("requestInterceptors", "Ljava/util/List;", AccessFlags = 4)]
  33. internal global::Java.Util.IList<object> RequestInterceptors;
  34. /// <java-name>
  35. /// responseInterceptors
  36. /// </java-name>
  37. [Dot42.DexImport("responseInterceptors", "Ljava/util/List;", AccessFlags = 4)]
  38. internal global::Java.Util.IList<object> ResponseInterceptors;
  39. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  40. public BasicHttpProcessor() /* MethodBuilder.Create */
  41. {
  42. }
  43. /// <java-name>
  44. /// addRequestInterceptor
  45. /// </java-name>
  46. [Dot42.DexImport("addRequestInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;)V", AccessFlags = 1)]
  47. public void AddRequestInterceptor(global::Org.Apache.Http.IHttpRequestInterceptor itcp) /* MethodBuilder.Create */
  48. {
  49. }
  50. /// <java-name>
  51. /// addRequestInterceptor
  52. /// </java-name>
  53. [Dot42.DexImport("addRequestInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;I)V", AccessFlags = 1)]
  54. public void AddRequestInterceptor(global::Org.Apache.Http.IHttpRequestInterceptor itcp, int index) /* MethodBuilder.Create */
  55. {
  56. }
  57. /// <summary>
  58. /// <para>Inserts a response interceptor at the specified index.</para><para></para>
  59. /// </summary>
  60. /// <java-name>
  61. /// addResponseInterceptor
  62. /// </java-name>
  63. [Dot42.DexImport("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;I)V", AccessFlags = 1)]
  64. public void AddResponseInterceptor(global::Org.Apache.Http.IHttpResponseInterceptor itcp, int index) /* MethodBuilder.Create */
  65. {
  66. }
  67. /// <java-name>
  68. /// removeRequestInterceptorByClass
  69. /// </java-name>
  70. [Dot42.DexImport("removeRequestInterceptorByClass", "(Ljava/lang/Class;)V", AccessFlags = 1)]
  71. public void RemoveRequestInterceptorByClass(global::System.Type clazz) /* MethodBuilder.Create */
  72. {
  73. }
  74. /// <java-name>
  75. /// removeResponseInterceptorByClass
  76. /// </java-name>
  77. [Dot42.DexImport("removeResponseInterceptorByClass", "(Ljava/lang/Class;)V", AccessFlags = 1)]
  78. public void RemoveResponseInterceptorByClass(global::System.Type clazz) /* MethodBuilder.Create */
  79. {
  80. }
  81. /// <summary>
  82. /// <para>Same as addRequestInterceptor.</para><para></para>
  83. /// </summary>
  84. /// <java-name>
  85. /// addInterceptor
  86. /// </java-name>
  87. [Dot42.DexImport("addInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;)V", AccessFlags = 17)]
  88. public void AddInterceptor(global::Org.Apache.Http.IHttpRequestInterceptor interceptor) /* MethodBuilder.Create */
  89. {
  90. }
  91. /// <java-name>
  92. /// addInterceptor
  93. /// </java-name>
  94. [Dot42.DexImport("addInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;I)V", AccessFlags = 17)]
  95. public void AddInterceptor(global::Org.Apache.Http.IHttpRequestInterceptor interceptor, int index) /* MethodBuilder.Create */
  96. {
  97. }
  98. /// <summary>
  99. /// <para>Obtains the current size of this list.</para><para></para>
  100. /// </summary>
  101. /// <returns>
  102. /// <para>the number of request interceptors in this list </para>
  103. /// </returns>
  104. /// <java-name>
  105. /// getRequestInterceptorCount
  106. /// </java-name>
  107. [Dot42.DexImport("getRequestInterceptorCount", "()I", AccessFlags = 1)]
  108. public int GetRequestInterceptorCount() /* MethodBuilder.Create */
  109. {
  110. return default(int);
  111. }
  112. /// <summary>
  113. /// <para>Obtains a request interceptor from this list.</para><para></para>
  114. /// </summary>
  115. /// <returns>
  116. /// <para>the interceptor at the given index, or <code>null</code> if the index is out of range </para>
  117. /// </returns>
  118. /// <java-name>
  119. /// getRequestInterceptor
  120. /// </java-name>
  121. [Dot42.DexImport("getRequestInterceptor", "(I)Lorg/apache/http/HttpRequestInterceptor;", AccessFlags = 1)]
  122. public global::Org.Apache.Http.IHttpRequestInterceptor GetRequestInterceptor(int index) /* MethodBuilder.Create */
  123. {
  124. return default(global::Org.Apache.Http.IHttpRequestInterceptor);
  125. }
  126. /// <summary>
  127. /// <para>Removes all request interceptors from this list. </para>
  128. /// </summary>
  129. /// <java-name>
  130. /// clearRequestInterceptors
  131. /// </java-name>
  132. [Dot42.DexImport("clearRequestInterceptors", "()V", AccessFlags = 1)]
  133. public void ClearRequestInterceptors() /* MethodBuilder.Create */
  134. {
  135. }
  136. /// <java-name>
  137. /// addResponseInterceptor
  138. /// </java-name>
  139. [Dot42.DexImport("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;)V", AccessFlags = 1)]
  140. public void AddResponseInterceptor(global::Org.Apache.Http.IHttpResponseInterceptor itcp) /* MethodBuilder.Create */
  141. {
  142. }
  143. /// <summary>
  144. /// <para>Same as addRequestInterceptor.</para><para></para>
  145. /// </summary>
  146. /// <java-name>
  147. /// addInterceptor
  148. /// </java-name>
  149. [Dot42.DexImport("addInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;)V", AccessFlags = 17)]
  150. public void AddInterceptor(global::Org.Apache.Http.IHttpResponseInterceptor interceptor) /* MethodBuilder.Create */
  151. {
  152. }
  153. /// <java-name>
  154. /// addInterceptor
  155. /// </java-name>
  156. [Dot42.DexImport("addInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;I)V", AccessFlags = 17)]
  157. public void AddInterceptor(global::Org.Apache.Http.IHttpResponseInterceptor interceptor, int index) /* MethodBuilder.Create */
  158. {
  159. }
  160. /// <summary>
  161. /// <para>Obtains the current size of this list.</para><para></para>
  162. /// </summary>
  163. /// <returns>
  164. /// <para>the number of response interceptors in this list </para>
  165. /// </returns>
  166. /// <java-name>
  167. /// getResponseInterceptorCount
  168. /// </java-name>
  169. [Dot42.DexImport("getResponseInterceptorCount", "()I", AccessFlags = 1)]
  170. public int GetResponseInterceptorCount() /* MethodBuilder.Create */
  171. {
  172. return default(int);
  173. }
  174. /// <summary>
  175. /// <para>Obtains a response interceptor from this list.</para><para></para>
  176. /// </summary>
  177. /// <returns>
  178. /// <para>the interceptor at the given index, or <code>null</code> if the index is out of range </para>
  179. /// </returns>
  180. /// <java-name>
  181. /// getResponseInterceptor
  182. /// </java-name>
  183. [Dot42.DexImport("getResponseInterceptor", "(I)Lorg/apache/http/HttpResponseInterceptor;", AccessFlags = 1)]
  184. public global::Org.Apache.Http.IHttpResponseInterceptor GetResponseInterceptor(int index) /* MethodBuilder.Create */
  185. {
  186. return default(global::Org.Apache.Http.IHttpResponseInterceptor);
  187. }
  188. /// <summary>
  189. /// <para>Removes all response interceptors from this list. </para>
  190. /// </summary>
  191. /// <java-name>
  192. /// clearResponseInterceptors
  193. /// </java-name>
  194. [Dot42.DexImport("clearResponseInterceptors", "()V", AccessFlags = 1)]
  195. public void ClearResponseInterceptors() /* MethodBuilder.Create */
  196. {
  197. }
  198. /// <summary>
  199. /// <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>
  200. /// </summary>
  201. /// <java-name>
  202. /// setInterceptors
  203. /// </java-name>
  204. [Dot42.DexImport("setInterceptors", "(Ljava/util/List;)V", AccessFlags = 1)]
  205. public void SetInterceptors(global::Java.Util.IList<object> list) /* MethodBuilder.Create */
  206. {
  207. }
  208. /// <summary>
  209. /// <para>Clears both interceptor lists maintained by this processor. </para>
  210. /// </summary>
  211. /// <java-name>
  212. /// clearInterceptors
  213. /// </java-name>
  214. [Dot42.DexImport("clearInterceptors", "()V", AccessFlags = 1)]
  215. public void ClearInterceptors() /* MethodBuilder.Create */
  216. {
  217. }
  218. /// <java-name>
  219. /// process
  220. /// </java-name>
  221. [Dot42.DexImport("process", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  222. public void Process(global::Org.Apache.Http.IHttpRequest request, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  223. {
  224. }
  225. /// <java-name>
  226. /// process
  227. /// </java-name>
  228. [Dot42.DexImport("process", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  229. public void Process(global::Org.Apache.Http.IHttpResponse request, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  230. {
  231. }
  232. /// <java-name>
  233. /// copyInterceptors
  234. /// </java-name>
  235. [Dot42.DexImport("copyInterceptors", "(Lorg/apache/http/protocol/BasicHttpProcessor;)V", AccessFlags = 4)]
  236. internal void CopyInterceptors(global::Org.Apache.Http.Protocol.BasicHttpProcessor target) /* MethodBuilder.Create */
  237. {
  238. }
  239. /// <summary>
  240. /// <para>Creates a copy of this instance</para><para></para>
  241. /// </summary>
  242. /// <returns>
  243. /// <para>new instance of the BasicHttpProcessor </para>
  244. /// </returns>
  245. /// <java-name>
  246. /// copy
  247. /// </java-name>
  248. [Dot42.DexImport("copy", "()Lorg/apache/http/protocol/BasicHttpProcessor;", AccessFlags = 1)]
  249. public global::Org.Apache.Http.Protocol.BasicHttpProcessor Copy() /* MethodBuilder.Create */
  250. {
  251. return default(global::Org.Apache.Http.Protocol.BasicHttpProcessor);
  252. }
  253. /// <java-name>
  254. /// clone
  255. /// </java-name>
  256. [Dot42.DexImport("clone", "()Ljava/lang/Object;", AccessFlags = 1)]
  257. public object Clone() /* MethodBuilder.Create */
  258. {
  259. return default(object);
  260. }
  261. /// <summary>
  262. /// <para>Obtains the current size of this list.</para><para></para>
  263. /// </summary>
  264. /// <returns>
  265. /// <para>the number of request interceptors in this list </para>
  266. /// </returns>
  267. /// <java-name>
  268. /// getRequestInterceptorCount
  269. /// </java-name>
  270. public int RequestInterceptorCount
  271. {
  272. [Dot42.DexImport("getRequestInterceptorCount", "()I", AccessFlags = 1)]
  273. get{ return GetRequestInterceptorCount(); }
  274. }
  275. /// <summary>
  276. /// <para>Obtains the current size of this list.</para><para></para>
  277. /// </summary>
  278. /// <returns>
  279. /// <para>the number of response interceptors in this list </para>
  280. /// </returns>
  281. /// <java-name>
  282. /// getResponseInterceptorCount
  283. /// </java-name>
  284. public int ResponseInterceptorCount
  285. {
  286. [Dot42.DexImport("getResponseInterceptorCount", "()I", AccessFlags = 1)]
  287. get{ return GetResponseInterceptorCount(); }
  288. }
  289. }
  290. /// <summary>
  291. /// <para>A response interceptor that suggests connection keep-alive to the client. For use on the server side.</para><para><para></para><para></para><title>Revision:</title><para>618017 </para></para><para><para>4.0 </para></para>
  292. /// </summary>
  293. /// <java-name>
  294. /// org/apache/http/protocol/ResponseConnControl
  295. /// </java-name>
  296. [Dot42.DexImport("org/apache/http/protocol/ResponseConnControl", AccessFlags = 33)]
  297. public partial class ResponseConnControl : global::Org.Apache.Http.IHttpResponseInterceptor
  298. /* scope: __dot42__ */
  299. {
  300. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  301. public ResponseConnControl() /* MethodBuilder.Create */
  302. {
  303. }
  304. /// <java-name>
  305. /// process
  306. /// </java-name>
  307. [Dot42.DexImport("process", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  308. public virtual void Process(global::Org.Apache.Http.IHttpResponse response, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  309. {
  310. }
  311. }
  312. /// <summary>
  313. /// <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>
  314. /// </summary>
  315. /// <java-name>
  316. /// org/apache/http/protocol/HttpDateGenerator
  317. /// </java-name>
  318. [Dot42.DexImport("org/apache/http/protocol/HttpDateGenerator", AccessFlags = 33)]
  319. public partial class HttpDateGenerator
  320. /* scope: __dot42__ */
  321. {
  322. /// <summary>
  323. /// <para>Date format pattern used to generate the header in RFC 1123 format. </para>
  324. /// </summary>
  325. /// <java-name>
  326. /// PATTERN_RFC1123
  327. /// </java-name>
  328. [Dot42.DexImport("PATTERN_RFC1123", "Ljava/lang/String;", AccessFlags = 25)]
  329. public const string PATTERN_RFC1123 = "EEE, dd MMM yyyy HH:mm:ss zzz";
  330. /// <summary>
  331. /// <para>The time zone to use in the date header. </para>
  332. /// </summary>
  333. /// <java-name>
  334. /// GMT
  335. /// </java-name>
  336. [Dot42.DexImport("GMT", "Ljava/util/TimeZone;", AccessFlags = 25)]
  337. public static readonly global::Java.Util.TimeZone GMT;
  338. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  339. public HttpDateGenerator() /* MethodBuilder.Create */
  340. {
  341. }
  342. /// <java-name>
  343. /// getCurrentDate
  344. /// </java-name>
  345. [Dot42.DexImport("getCurrentDate", "()Ljava/lang/String;", AccessFlags = 33)]
  346. public virtual string GetCurrentDate() /* MethodBuilder.Create */
  347. {
  348. return default(string);
  349. }
  350. /// <java-name>
  351. /// getCurrentDate
  352. /// </java-name>
  353. public string CurrentDate
  354. {
  355. [Dot42.DexImport("getCurrentDate", "()Ljava/lang/String;", AccessFlags = 33)]
  356. get{ return GetCurrentDate(); }
  357. }
  358. }
  359. /// <summary>
  360. /// <para>A request interceptor that adds a User-Agent header.</para><para><para></para><para></para><title>Revision:</title><para>496070 </para></para><para><para>4.0 </para></para>
  361. /// </summary>
  362. /// <java-name>
  363. /// org/apache/http/protocol/RequestUserAgent
  364. /// </java-name>
  365. [Dot42.DexImport("org/apache/http/protocol/RequestUserAgent", AccessFlags = 33)]
  366. public partial class RequestUserAgent : global::Org.Apache.Http.IHttpRequestInterceptor
  367. /* scope: __dot42__ */
  368. {
  369. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  370. public RequestUserAgent() /* MethodBuilder.Create */
  371. {
  372. }
  373. /// <java-name>
  374. /// process
  375. /// </java-name>
  376. [Dot42.DexImport("process", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  377. public virtual void Process(global::Org.Apache.Http.IHttpRequest request, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  378. {
  379. }
  380. }
  381. /// <summary>
  382. /// <para>Minimalistic server-side implementation of an HTTP processor.</para><para><para></para><para></para><title>Revision:</title><para>610763 </para></para>
  383. /// </summary>
  384. /// <java-name>
  385. /// org/apache/http/protocol/HttpService
  386. /// </java-name>
  387. [Dot42.DexImport("org/apache/http/protocol/HttpService", AccessFlags = 33)]
  388. public partial class HttpService
  389. /* scope: __dot42__ */
  390. {
  391. /// <summary>
  392. /// <para>Create a new HTTP service.</para><para></para>
  393. /// </summary>
  394. [Dot42.DexImport("<init>", "(Lorg/apache/http/protocol/HttpProcessor;Lorg/apache/http/ConnectionReuseStrategy" +
  395. ";Lorg/apache/http/HttpResponseFactory;)V", AccessFlags = 1)]
  396. public HttpService(global::Org.Apache.Http.Protocol.IHttpProcessor proc, global::Org.Apache.Http.IConnectionReuseStrategy connStrategy, global::Org.Apache.Http.IHttpResponseFactory responseFactory) /* MethodBuilder.Create */
  397. {
  398. }
  399. /// <java-name>
  400. /// setHttpProcessor
  401. /// </java-name>
  402. [Dot42.DexImport("setHttpProcessor", "(Lorg/apache/http/protocol/HttpProcessor;)V", AccessFlags = 1)]
  403. public virtual void SetHttpProcessor(global::Org.Apache.Http.Protocol.IHttpProcessor processor) /* MethodBuilder.Create */
  404. {
  405. }
  406. /// <java-name>
  407. /// setConnReuseStrategy
  408. /// </java-name>
  409. [Dot42.DexImport("setConnReuseStrategy", "(Lorg/apache/http/ConnectionReuseStrategy;)V", AccessFlags = 1)]
  410. public virtual void SetConnReuseStrategy(global::Org.Apache.Http.IConnectionReuseStrategy connStrategy) /* MethodBuilder.Create */
  411. {
  412. }
  413. /// <java-name>
  414. /// setResponseFactory
  415. /// </java-name>
  416. [Dot42.DexImport("setResponseFactory", "(Lorg/apache/http/HttpResponseFactory;)V", AccessFlags = 1)]
  417. public virtual void SetResponseFactory(global::Org.Apache.Http.IHttpResponseFactory responseFactory) /* MethodBuilder.Create */
  418. {
  419. }
  420. /// <java-name>
  421. /// setHandlerResolver
  422. /// </java-name>
  423. [Dot42.DexImport("setHandlerResolver", "(Lorg/apache/http/protocol/HttpRequestHandlerResolver;)V", AccessFlags = 1)]
  424. public virtual void SetHandlerResolver(global::Org.Apache.Http.Protocol.IHttpRequestHandlerResolver handlerResolver) /* MethodBuilder.Create */
  425. {
  426. }
  427. /// <java-name>
  428. /// setExpectationVerifier
  429. /// </java-name>
  430. [Dot42.DexImport("setExpectationVerifier", "(Lorg/apache/http/protocol/HttpExpectationVerifier;)V", AccessFlags = 1)]
  431. public virtual void SetExpectationVerifier(global::Org.Apache.Http.Protocol.IHttpExpectationVerifier expectationVerifier) /* MethodBuilder.Create */
  432. {
  433. }
  434. /// <java-name>
  435. /// getParams
  436. /// </java-name>
  437. [Dot42.DexImport("getParams", "()Lorg/apache/http/params/HttpParams;", AccessFlags = 1)]
  438. public virtual global::Org.Apache.Http.Params.IHttpParams GetParams() /* MethodBuilder.Create */
  439. {
  440. return default(global::Org.Apache.Http.Params.IHttpParams);
  441. }
  442. /// <java-name>
  443. /// setParams
  444. /// </java-name>
  445. [Dot42.DexImport("setParams", "(Lorg/apache/http/params/HttpParams;)V", AccessFlags = 1)]
  446. public virtual void SetParams(global::Org.Apache.Http.Params.IHttpParams @params) /* MethodBuilder.Create */
  447. {
  448. }
  449. /// <java-name>
  450. /// handleRequest
  451. /// </java-name>
  452. [Dot42.DexImport("handleRequest", "(Lorg/apache/http/HttpServerConnection;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  453. public virtual void HandleRequest(global::Org.Apache.Http.IHttpServerConnection conn, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  454. {
  455. }
  456. /// <java-name>
  457. /// handleException
  458. /// </java-name>
  459. [Dot42.DexImport("handleException", "(Lorg/apache/http/HttpException;Lorg/apache/http/HttpResponse;)V", AccessFlags = 4)]
  460. protected internal virtual void HandleException(global::Org.Apache.Http.HttpException ex, global::Org.Apache.Http.IHttpResponse response) /* MethodBuilder.Create */
  461. {
  462. }
  463. /// <java-name>
  464. /// doService
  465. /// </java-name>
  466. [Dot42.DexImport("doService", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/HttpResponse;Lorg/apache/http/prot" +
  467. "ocol/HttpContext;)V", AccessFlags = 4)]
  468. 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 */
  469. {
  470. }
  471. [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
  472. internal HttpService() /* TypeBuilder.AddDefaultConstructor */
  473. {
  474. }
  475. /// <java-name>
  476. /// getParams
  477. /// </java-name>
  478. public global::Org.Apache.Http.Params.IHttpParams Params
  479. {
  480. [Dot42.DexImport("getParams", "()Lorg/apache/http/params/HttpParams;", AccessFlags = 1)]
  481. get{ return GetParams(); }
  482. [Dot42.DexImport("setParams", "(Lorg/apache/http/params/HttpParams;)V", AccessFlags = 1)]
  483. set{ SetParams(value); }
  484. }
  485. }
  486. /// <summary>
  487. /// <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>
  488. /// </summary>
  489. /// <java-name>
  490. /// org/apache/http/protocol/BasicHttpContext
  491. /// </java-name>
  492. [Dot42.DexImport("org/apache/http/protocol/BasicHttpContext", AccessFlags = 33)]
  493. public partial class BasicHttpContext : global::Org.Apache.Http.Protocol.IHttpContext
  494. /* scope: __dot42__ */
  495. {
  496. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  497. public BasicHttpContext() /* MethodBuilder.Create */
  498. {
  499. }
  500. [Dot42.DexImport("<init>", "(Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  501. public BasicHttpContext(global::Org.Apache.Http.Protocol.IHttpContext parentContext) /* MethodBuilder.Create */
  502. {
  503. }
  504. /// <java-name>
  505. /// getAttribute
  506. /// </java-name>
  507. [Dot42.DexImport("getAttribute", "(Ljava/lang/String;)Ljava/lang/Object;", AccessFlags = 1)]
  508. public virtual object GetAttribute(string id) /* MethodBuilder.Create */
  509. {
  510. return default(object);
  511. }
  512. /// <java-name>
  513. /// setAttribute
  514. /// </java-name>
  515. [Dot42.DexImport("setAttribute", "(Ljava/lang/String;Ljava/lang/Object;)V", AccessFlags = 1)]
  516. public virtual void SetAttribute(string id, object obj) /* MethodBuilder.Create */
  517. {
  518. }
  519. /// <java-name>
  520. /// removeAttribute
  521. /// </java-name>
  522. [Dot42.DexImport("removeAttribute", "(Ljava/lang/String;)Ljava/lang/Object;", AccessFlags = 1)]
  523. public virtual object RemoveAttribute(string id) /* MethodBuilder.Create */
  524. {
  525. return default(object);
  526. }
  527. }
  528. /// <summary>
  529. /// <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>
  530. /// </summary>
  531. /// <java-name>
  532. /// org/apache/http/protocol/HttpRequestInterceptorList
  533. /// </java-name>
  534. [Dot42.DexImport("org/apache/http/protocol/HttpRequestInterceptorList", AccessFlags = 1537)]
  535. public partial interface IHttpRequestInterceptorList
  536. /* scope: __dot42__ */
  537. {
  538. /// <summary>
  539. /// <para>Appends a request interceptor to this list.</para><para></para>
  540. /// </summary>
  541. /// <java-name>
  542. /// addRequestInterceptor
  543. /// </java-name>
  544. [Dot42.DexImport("addRequestInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;)V", AccessFlags = 1025)]
  545. void AddRequestInterceptor(global::Org.Apache.Http.IHttpRequestInterceptor itcp) /* MethodBuilder.Create */ ;
  546. /// <summary>
  547. /// <para>Inserts a request interceptor at the specified index.</para><para></para>
  548. /// </summary>
  549. /// <java-name>
  550. /// addRequestInterceptor
  551. /// </java-name>
  552. [Dot42.DexImport("addRequestInterceptor", "(Lorg/apache/http/HttpRequestInterceptor;I)V", AccessFlags = 1025)]
  553. void AddRequestInterceptor(global::Org.Apache.Http.IHttpRequestInterceptor itcp, int index) /* MethodBuilder.Create */ ;
  554. /// <summary>
  555. /// <para>Obtains the current size of this list.</para><para></para>
  556. /// </summary>
  557. /// <returns>
  558. /// <para>the number of request interceptors in this list </para>
  559. /// </returns>
  560. /// <java-name>
  561. /// getRequestInterceptorCount
  562. /// </java-name>
  563. [Dot42.DexImport("getRequestInterceptorCount", "()I", AccessFlags = 1025)]
  564. int GetRequestInterceptorCount() /* MethodBuilder.Create */ ;
  565. /// <summary>
  566. /// <para>Obtains a request interceptor from this list.</para><para></para>
  567. /// </summary>
  568. /// <returns>
  569. /// <para>the interceptor at the given index, or <code>null</code> if the index is out of range </para>
  570. /// </returns>
  571. /// <java-name>
  572. /// getRequestInterceptor
  573. /// </java-name>
  574. [Dot42.DexImport("getRequestInterceptor", "(I)Lorg/apache/http/HttpRequestInterceptor;", AccessFlags = 1025)]
  575. global::Org.Apache.Http.IHttpRequestInterceptor GetRequestInterceptor(int index) /* MethodBuilder.Create */ ;
  576. /// <summary>
  577. /// <para>Removes all request interceptors from this list. </para>
  578. /// </summary>
  579. /// <java-name>
  580. /// clearRequestInterceptors
  581. /// </java-name>
  582. [Dot42.DexImport("clearRequestInterceptors", "()V", AccessFlags = 1025)]
  583. void ClearRequestInterceptors() /* MethodBuilder.Create */ ;
  584. /// <summary>
  585. /// <para>Removes all request interceptor of the specified class</para><para></para>
  586. /// </summary>
  587. /// <java-name>
  588. /// removeRequestInterceptorByClass
  589. /// </java-name>
  590. [Dot42.DexImport("removeRequestInterceptorByClass", "(Ljava/lang/Class;)V", AccessFlags = 1025)]
  591. void RemoveRequestInterceptorByClass(global::System.Type clazz) /* MethodBuilder.Create */ ;
  592. /// <summary>
  593. /// <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>
  594. /// </summary>
  595. /// <java-name>
  596. /// setInterceptors
  597. /// </java-name>
  598. [Dot42.DexImport("setInterceptors", "(Ljava/util/List;)V", AccessFlags = 1025)]
  599. void SetInterceptors(global::Java.Util.IList<object> itcps) /* MethodBuilder.Create */ ;
  600. }
  601. /// <summary>
  602. /// <para>Maintains a map of HTTP request handlers keyed by a request URI pattern. HttpRequestHandler instances can be looked up by request URI using the HttpRequestHandlerResolver interface.<br></br> Patterns may have three formats: <ul><li><para><code>*</code> </para></li><li><para><code>*&lt;uri&gt;</code> </para></li><li><para><code>&lt;uri&gt;*</code> </para></li></ul></para><para><para></para><para></para><title>Revision:</title><para>630662 </para></para>
  603. /// </summary>
  604. /// <java-name>
  605. /// org/apache/http/protocol/HttpRequestHandlerRegistry
  606. /// </java-name>
  607. [Dot42.DexImport("org/apache/http/protocol/HttpRequestHandlerRegistry", AccessFlags = 33)]
  608. public partial class HttpRequestHandlerRegistry : global::Org.Apache.Http.Protocol.IHttpRequestHandlerResolver
  609. /* scope: __dot42__ */
  610. {
  611. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  612. public HttpRequestHandlerRegistry() /* MethodBuilder.Create */
  613. {
  614. }
  615. /// <java-name>
  616. /// register
  617. /// </java-name>
  618. [Dot42.DexImport("register", "(Ljava/lang/String;Lorg/apache/http/protocol/HttpRequestHandler;)V", AccessFlags = 1)]
  619. public virtual void Register(string pattern, global::Org.Apache.Http.Protocol.IHttpRequestHandler handler) /* MethodBuilder.Create */
  620. {
  621. }
  622. /// <java-name>
  623. /// unregister
  624. /// </java-name>
  625. [Dot42.DexImport("unregister", "(Ljava/lang/String;)V", AccessFlags = 1)]
  626. public virtual void Unregister(string pattern) /* MethodBuilder.Create */
  627. {
  628. }
  629. /// <java-name>
  630. /// setHandlers
  631. /// </java-name>
  632. [Dot42.DexImport("setHandlers", "(Ljava/util/Map;)V", AccessFlags = 1)]
  633. public virtual void SetHandlers(global::Java.Util.IMap<object, object> map) /* MethodBuilder.Create */
  634. {
  635. }
  636. /// <java-name>
  637. /// lookup
  638. /// </java-name>
  639. [Dot42.DexImport("lookup", "(Ljava/lang/String;)Lorg/apache/http/protocol/HttpRequestHandler;", AccessFlags = 1)]
  640. public virtual global::Org.Apache.Http.Protocol.IHttpRequestHandler Lookup(string requestURI) /* MethodBuilder.Create */
  641. {
  642. return default(global::Org.Apache.Http.Protocol.IHttpRequestHandler);
  643. }
  644. /// <summary>
  645. /// <para><xrefsect><xreftitle>Deprecated</xreftitle><xrefdescription><para>use UriPatternMatcher directly </para></xrefdescription></xrefsect></para>
  646. /// </summary>
  647. /// <java-name>
  648. /// matchUriRequestPattern
  649. /// </java-name>
  650. [Dot42.DexImport("matchUriRequestPattern", "(Ljava/lang/String;Ljava/lang/String;)Z", AccessFlags = 4)]
  651. protected internal virtual bool MatchUriRequestPattern(string pattern, string requestUri) /* MethodBuilder.Create */
  652. {
  653. return default(bool);
  654. }
  655. }
  656. /// <summary>
  657. /// <para>A context for executing a request. The context is used to tie together the request, the response, and optional application data. It is also used for internal data. Attribute names starting with the prefix "http." are reserved for internal data.</para><para><para></para><para></para><title>Revision:</title><para>558111 </para></para><para><para>4.0 </para></para>
  658. /// </summary>
  659. /// <java-name>
  660. /// org/apache/http/protocol/HttpContext
  661. /// </java-name>
  662. [Dot42.DexImport("org/apache/http/protocol/HttpContext", AccessFlags = 1537, IgnoreFromJava = true, Priority = 1)]
  663. public static partial class IHttpContextConstants
  664. /* scope: __dot42__ */
  665. {
  666. /// <summary>
  667. /// <para>The prefix reserved for use by HTTP components. "http." </para>
  668. /// </summary>
  669. /// <java-name>
  670. /// RESERVED_PREFIX
  671. /// </java-name>
  672. [Dot42.DexImport("RESERVED_PREFIX", "Ljava/lang/String;", AccessFlags = 25)]
  673. public const string RESERVED_PREFIX = "http.";
  674. }
  675. /// <summary>
  676. /// <para>A context for executing a request. The context is used to tie together the request, the response, and optional application data. It is also used for internal data. Attribute names starting with the prefix "http." are reserved for internal data.</para><para><para></para><para></para><title>Revision:</title><para>558111 </para></para><para><para>4.0 </para></para>
  677. /// </summary>
  678. /// <java-name>
  679. /// org/apache/http/protocol/HttpContext
  680. /// </java-name>
  681. [Dot42.DexImport("org/apache/http/protocol/HttpContext", AccessFlags = 1537)]
  682. public partial interface IHttpContext
  683. /* scope: __dot42__ */
  684. {
  685. /// <java-name>
  686. /// getAttribute
  687. /// </java-name>
  688. [Dot42.DexImport("getAttribute", "(Ljava/lang/String;)Ljava/lang/Object;", AccessFlags = 1025)]
  689. object GetAttribute(string id) /* MethodBuilder.Create */ ;
  690. /// <java-name>
  691. /// setAttribute
  692. /// </java-name>
  693. [Dot42.DexImport("setAttribute", "(Ljava/lang/String;Ljava/lang/Object;)V", AccessFlags = 1025)]
  694. void SetAttribute(string id, object obj) /* MethodBuilder.Create */ ;
  695. /// <java-name>
  696. /// removeAttribute
  697. /// </java-name>
  698. [Dot42.DexImport("removeAttribute", "(Ljava/lang/String;)Ljava/lang/Object;", AccessFlags = 1025)]
  699. object RemoveAttribute(string id) /* MethodBuilder.Create */ ;
  700. }
  701. /// <summary>
  702. /// <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>
  703. /// </summary>
  704. /// <java-name>
  705. /// org/apache/http/protocol/HttpResponseInterceptorList
  706. /// </java-name>
  707. [Dot42.DexImport("org/apache/http/protocol/HttpResponseInterceptorList", AccessFlags = 1537)]
  708. public partial interface IHttpResponseInterceptorList
  709. /* scope: __dot42__ */
  710. {
  711. /// <summary>
  712. /// <para>Appends a response interceptor to this list.</para><para></para>
  713. /// </summary>
  714. /// <java-name>
  715. /// addResponseInterceptor
  716. /// </java-name>
  717. [Dot42.DexImport("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;)V", AccessFlags = 1025)]
  718. void AddResponseInterceptor(global::Org.Apache.Http.IHttpResponseInterceptor itcp) /* MethodBuilder.Create */ ;
  719. /// <summary>
  720. /// <para>Inserts a response interceptor at the specified index.</para><para></para>
  721. /// </summary>
  722. /// <java-name>
  723. /// addResponseInterceptor
  724. /// </java-name>
  725. [Dot42.DexImport("addResponseInterceptor", "(Lorg/apache/http/HttpResponseInterceptor;I)V", AccessFlags = 1025)]
  726. void AddResponseInterceptor(global::Org.Apache.Http.IHttpResponseInterceptor itcp, int index) /* MethodBuilder.Create */ ;
  727. /// <summary>
  728. /// <para>Obtains the current size of this list.</para><para></para>
  729. /// </summary>
  730. /// <returns>
  731. /// <para>the number of response interceptors in this list </para>
  732. /// </returns>
  733. /// <java-name>
  734. /// getResponseInterceptorCount
  735. /// </java-name>
  736. [Dot42.DexImport("getResponseInterceptorCount", "()I", AccessFlags = 1025)]
  737. int GetResponseInterceptorCount() /* MethodBuilder.Create */ ;
  738. /// <summary>
  739. /// <para>Obtains a response interceptor from this list.</para><para></para>
  740. /// </summary>
  741. /// <returns>
  742. /// <para>the interceptor at the given index, or <code>null</code> if the index is out of range </para>
  743. /// </returns>
  744. /// <java-name>
  745. /// getResponseInterceptor
  746. /// </java-name>
  747. [Dot42.DexImport("getResponseInterceptor", "(I)Lorg/apache/http/HttpResponseInterceptor;", AccessFlags = 1025)]
  748. global::Org.Apache.Http.IHttpResponseInterceptor GetResponseInterceptor(int index) /* MethodBuilder.Create */ ;
  749. /// <summary>
  750. /// <para>Removes all response interceptors from this list. </para>
  751. /// </summary>
  752. /// <java-name>
  753. /// clearResponseInterceptors
  754. /// </java-name>
  755. [Dot42.DexImport("clearResponseInterceptors", "()V", AccessFlags = 1025)]
  756. void ClearResponseInterceptors() /* MethodBuilder.Create */ ;
  757. /// <summary>
  758. /// <para>Removes all response interceptor of the specified class</para><para></para>
  759. /// </summary>
  760. /// <java-name>
  761. /// removeResponseInterceptorByClass
  762. /// </java-name>
  763. [Dot42.DexImport("removeResponseInterceptorByClass", "(Ljava/lang/Class;)V", AccessFlags = 1025)]
  764. void RemoveResponseInterceptorByClass(global::System.Type clazz) /* MethodBuilder.Create */ ;
  765. /// <summary>
  766. /// <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>
  767. /// </summary>
  768. /// <java-name>
  769. /// setInterceptors
  770. /// </java-name>
  771. [Dot42.DexImport("setInterceptors", "(Ljava/util/List;)V", AccessFlags = 1025)]
  772. void SetInterceptors(global::Java.Util.IList<object> itcps) /* MethodBuilder.Create */ ;
  773. }
  774. /// <summary>
  775. /// <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>
  776. /// </summary>
  777. /// <java-name>
  778. /// org/apache/http/protocol/HTTP
  779. /// </java-name>
  780. [Dot42.DexImport("org/apache/http/protocol/HTTP", AccessFlags = 49)]
  781. public sealed partial class HTTP
  782. /* scope: __dot42__ */
  783. {
  784. /// <java-name>
  785. /// CR
  786. /// </java-name>
  787. [Dot42.DexImport("CR", "I", AccessFlags = 25)]
  788. public const int CR = 13;
  789. /// <java-name>
  790. /// LF
  791. /// </java-name>
  792. [Dot42.DexImport("LF", "I", AccessFlags = 25)]
  793. public const int LF = 10;
  794. /// <java-name>
  795. /// SP
  796. /// </java-name>
  797. [Dot42.DexImport("SP", "I", AccessFlags = 25)]
  798. public const int SP = 32;
  799. /// <java-name>
  800. /// HT
  801. /// </java-name>
  802. [Dot42.DexImport("HT", "I", AccessFlags = 25)]
  803. public const int HT = 9;
  804. /// <summary>
  805. /// <para>HTTP header definitions </para>
  806. /// </summary>
  807. /// <java-name>
  808. /// TRANSFER_ENCODING
  809. /// </java-name>
  810. [Dot42.DexImport("TRANSFER_ENCODING", "Ljava/lang/String;", AccessFlags = 25)]
  811. public const string TRANSFER_ENCODING = "Transfer-Encoding";
  812. /// <java-name>
  813. /// CONTENT_LEN
  814. /// </java-name>
  815. [Dot42.DexImport("CONTENT_LEN", "Ljava/lang/String;", AccessFlags = 25)]
  816. public const string CONTENT_LEN = "Content-Length";
  817. /// <java-name>
  818. /// CONTENT_TYPE
  819. /// </java-name>
  820. [Dot42.DexImport("CONTENT_TYPE", "Ljava/lang/String;", AccessFlags = 25)]
  821. public const string CONTENT_TYPE = "Content-Type";
  822. /// <java-name>
  823. /// CONTENT_ENCODING
  824. /// </java-name>
  825. [Dot42.DexImport("CONTENT_ENCODING", "Ljava/lang/String;", AccessFlags = 25)]
  826. public const string CONTENT_ENCODING = "Content-Encoding";
  827. /// <java-name>
  828. /// EXPECT_DIRECTIVE
  829. /// </java-name>
  830. [Dot42.DexImport("EXPECT_DIRECTIVE", "Ljava/lang/String;", AccessFlags = 25)]
  831. public const string EXPECT_DIRECTIVE = "Expect";
  832. /// <java-name>
  833. /// CONN_DIRECTIVE
  834. /// </java-name>
  835. [Dot42.DexImport("CONN_DIRECTIVE", "Ljava/lang/String;", AccessFlags = 25)]
  836. public const string CONN_DIRECTIVE = "Connection";
  837. /// <java-name>
  838. /// TARGET_HOST
  839. /// </java-name>
  840. [Dot42.DexImport("TARGET_HOST", "Ljava/lang/String;", AccessFlags = 25)]
  841. public const string TARGET_HOST = "Host";
  842. /// <java-name>
  843. /// USER_AGENT
  844. /// </java-name>
  845. [Dot42.DexImport("USER_AGENT", "Ljava/lang/String;", AccessFlags = 25)]
  846. public const string USER_AGENT = "User-Agent";
  847. /// <java-name>
  848. /// DATE_HEADER
  849. /// </java-name>
  850. [Dot42.DexImport("DATE_HEADER", "Ljava/lang/String;", AccessFlags = 25)]
  851. public const string DATE_HEADER = "Date";
  852. /// <java-name>
  853. /// SERVER_HEADER
  854. /// </java-name>
  855. [Dot42.DexImport("SERVER_HEADER", "Ljava/lang/String;", AccessFlags = 25)]
  856. public const string SERVER_HEADER = "Server";
  857. /// <summary>
  858. /// <para>HTTP expectations </para>
  859. /// </summary>
  860. /// <java-name>
  861. /// EXPECT_CONTINUE
  862. /// </java-name>
  863. [Dot42.DexImport("EXPECT_CONTINUE", "Ljava/lang/String;", AccessFlags = 25)]
  864. public const string EXPECT_CONTINUE = "100-continue";
  865. /// <summary>
  866. /// <para>HTTP connection control </para>
  867. /// </summary>
  868. /// <java-name>
  869. /// CONN_CLOSE
  870. /// </java-name>
  871. [Dot42.DexImport("CONN_CLOSE", "Ljava/lang/String;", AccessFlags = 25)]
  872. public const string CONN_CLOSE = "Close";
  873. /// <java-name>
  874. /// CONN_KEEP_ALIVE
  875. /// </java-name>
  876. [Dot42.DexImport("CONN_KEEP_ALIVE", "Ljava/lang/String;", AccessFlags = 25)]
  877. public const string CONN_KEEP_ALIVE = "Keep-Alive";
  878. /// <summary>
  879. /// <para>Transfer encoding definitions </para>
  880. /// </summary>
  881. /// <java-name>
  882. /// CHUNK_CODING
  883. /// </java-name>
  884. [Dot42.DexImport("CHUNK_CODING", "Ljava/lang/String;", AccessFlags = 25)]
  885. public const string CHUNK_CODING = "chunked";
  886. /// <java-name>
  887. /// IDENTITY_CODING
  888. /// </java-name>
  889. [Dot42.DexImport("IDENTITY_CODING", "Ljava/lang/String;", AccessFlags = 25)]
  890. public const string IDENTITY_CODING = "identity";
  891. /// <summary>
  892. /// <para>Common charset definitions </para>
  893. /// </summary>
  894. /// <java-name>
  895. /// UTF_8
  896. /// </java-name>
  897. [Dot42.DexImport("UTF_8", "Ljava/lang/String;", AccessFlags = 25)]
  898. public const string UTF_8 = "UTF-8";
  899. /// <java-name>
  900. /// UTF_16
  901. /// </java-name>
  902. [Dot42.DexImport("UTF_16", "Ljava/lang/String;", AccessFlags = 25)]
  903. public const string UTF_16 = "UTF-16";
  904. /// <java-name>
  905. /// US_ASCII
  906. /// </java-name>
  907. [Dot42.DexImport("US_ASCII", "Ljava/lang/String;", AccessFlags = 25)]
  908. public const string US_ASCII = "US-ASCII";
  909. /// <java-name>
  910. /// ASCII
  911. /// </java-name>
  912. [Dot42.DexImport("ASCII", "Ljava/lang/String;", AccessFlags = 25)]
  913. public const string ASCII = "ASCII";
  914. /// <java-name>
  915. /// ISO_8859_1
  916. /// </java-name>
  917. [Dot42.DexImport("ISO_8859_1", "Ljava/lang/String;", AccessFlags = 25)]
  918. public const string ISO_8859_1 = "ISO-8859-1";
  919. /// <summary>
  920. /// <para>Default charsets </para>
  921. /// </summary>
  922. /// <java-name>
  923. /// DEFAULT_CONTENT_CHARSET
  924. /// </java-name>
  925. [Dot42.DexImport("DEFAULT_CONTENT_CHARSET", "Ljava/lang/String;", AccessFlags = 25)]
  926. public const string DEFAULT_CONTENT_CHARSET = "ISO-8859-1";
  927. /// <java-name>
  928. /// DEFAULT_PROTOCOL_CHARSET
  929. /// </java-name>
  930. [Dot42.DexImport("DEFAULT_PROTOCOL_CHARSET", "Ljava/lang/String;", AccessFlags = 25)]
  931. public const string DEFAULT_PROTOCOL_CHARSET = "US-ASCII";
  932. /// <summary>
  933. /// <para>Content type definitions </para>
  934. /// </summary>
  935. /// <java-name>
  936. /// OCTET_STREAM_TYPE
  937. /// </java-name>
  938. [Dot42.DexImport("OCTET_STREAM_TYPE", "Ljava/lang/String;", AccessFlags = 25)]
  939. public const string OCTET_STREAM_TYPE = "application/octet-stream";
  940. /// <java-name>
  941. /// PLAIN_TEXT_TYPE
  942. /// </java-name>
  943. [Dot42.DexImport("PLAIN_TEXT_TYPE", "Ljava/lang/String;", AccessFlags = 25)]
  944. public const string PLAIN_TEXT_TYPE = "text/plain";
  945. /// <java-name>
  946. /// CHARSET_PARAM
  947. /// </java-name>
  948. [Dot42.DexImport("CHARSET_PARAM", "Ljava/lang/String;", AccessFlags = 25)]
  949. public const string CHARSET_PARAM = "; charset=";
  950. /// <summary>
  951. /// <para>Default content type </para>
  952. /// </summary>
  953. /// <java-name>
  954. /// DEFAULT_CONTENT_TYPE
  955. /// </java-name>
  956. [Dot42.DexImport("DEFAULT_CONTENT_TYPE", "Ljava/lang/String;", AccessFlags = 25)]
  957. public const string DEFAULT_CONTENT_TYPE = "application/octet-stream";
  958. [Dot42.DexImport("<init>", "()V", AccessFlags = 0)]
  959. internal HTTP() /* MethodBuilder.Create */
  960. {
  961. }
  962. /// <java-name>
  963. /// isWhitespace
  964. /// </java-name>
  965. [Dot42.DexImport("isWhitespace", "(C)Z", AccessFlags = 9)]
  966. public static bool IsWhitespace(char ch) /* MethodBuilder.Create */
  967. {
  968. return default(bool);
  969. }
  970. }
  971. /// <summary>
  972. /// <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>
  973. /// </summary>
  974. /// <java-name>
  975. /// org/apache/http/protocol/DefaultedHttpContext
  976. /// </java-name>
  977. [Dot42.DexImport("org/apache/http/protocol/DefaultedHttpContext", AccessFlags = 49)]
  978. public sealed partial class DefaultedHttpContext : global::Org.Apache.Http.Protocol.IHttpContext
  979. /* scope: __dot42__ */
  980. {
  981. [Dot42.DexImport("<init>", "(Lorg/apache/http/protocol/HttpContext;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  982. public DefaultedHttpContext(global::Org.Apache.Http.Protocol.IHttpContext local, global::Org.Apache.Http.Protocol.IHttpContext defaults) /* MethodBuilder.Create */
  983. {
  984. }
  985. /// <java-name>
  986. /// getAttribute
  987. /// </java-name>
  988. [Dot42.DexImport("getAttribute", "(Ljava/lang/String;)Ljava/lang/Object;", AccessFlags = 1)]
  989. public object GetAttribute(string id) /* MethodBuilder.Create */
  990. {
  991. return default(object);
  992. }
  993. /// <java-name>
  994. /// removeAttribute
  995. /// </java-name>
  996. [Dot42.DexImport("removeAttribute", "(Ljava/lang/String;)Ljava/lang/Object;", AccessFlags = 1)]
  997. public object RemoveAttribute(string id) /* MethodBuilder.Create */
  998. {
  999. return default(object);
  1000. }
  1001. /// <java-name>
  1002. /// setAttribute
  1003. /// </java-name>
  1004. [Dot42.DexImport("setAttribute", "(Ljava/lang/String;Ljava/lang/Object;)V", AccessFlags = 1)]
  1005. public void SetAttribute(string id, object obj) /* MethodBuilder.Create */
  1006. {
  1007. }
  1008. /// <java-name>
  1009. /// getDefaults
  1010. /// </java-name>
  1011. [Dot42.DexImport("getDefaults", "()Lorg/apache/http/protocol/HttpContext;", AccessFlags = 1)]
  1012. public global::Org.Apache.Http.Protocol.IHttpContext GetDefaults() /* MethodBuilder.Create */
  1013. {
  1014. return default(global::Org.Apache.Http.Protocol.IHttpContext);
  1015. }
  1016. [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
  1017. internal DefaultedHttpContext() /* TypeBuilder.AddDefaultConstructor */
  1018. {
  1019. }
  1020. /// <java-name>
  1021. /// getDefaults
  1022. /// </java-name>
  1023. public global::Org.Apache.Http.Protocol.IHttpContext Defaults
  1024. {
  1025. [Dot42.DexImport("getDefaults", "()Lorg/apache/http/protocol/HttpContext;", AccessFlags = 1)]
  1026. get{ return GetDefaults(); }
  1027. }
  1028. }
  1029. /// <summary>
  1030. /// <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>
  1031. /// </summary>
  1032. /// <java-name>
  1033. /// org/apache/http/protocol/RequestConnControl
  1034. /// </java-name>
  1035. [Dot42.DexImport("org/apache/http/protocol/RequestConnControl", AccessFlags = 33)]
  1036. public partial class RequestConnControl : global::Org.Apache.Http.IHttpRequestInterceptor
  1037. /* scope: __dot42__ */
  1038. {
  1039. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  1040. public RequestConnControl() /* MethodBuilder.Create */
  1041. {
  1042. }
  1043. /// <java-name>
  1044. /// process
  1045. /// </java-name>
  1046. [Dot42.DexImport("process", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  1047. public virtual void Process(global::Org.Apache.Http.IHttpRequest request, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  1048. {
  1049. }
  1050. }
  1051. /// <summary>
  1052. /// <para>A response interceptor that adds a Server header. For use on the server side.</para><para><para></para><para></para><title>Revision:</title><para>576073 </para></para><para><para>4.0 </para></para>
  1053. /// </summary>
  1054. /// <java-name>
  1055. /// org/apache/http/protocol/ResponseServer
  1056. /// </java-name>
  1057. [Dot42.DexImport("org/apache/http/protocol/ResponseServer", AccessFlags = 33)]
  1058. public partial class ResponseServer : global::Org.Apache.Http.IHttpResponseInterceptor
  1059. /* scope: __dot42__ */
  1060. {
  1061. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  1062. public ResponseServer() /* MethodBuilder.Create */
  1063. {
  1064. }
  1065. /// <java-name>
  1066. /// process
  1067. /// </java-name>
  1068. [Dot42.DexImport("process", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  1069. public virtual void Process(global::Org.Apache.Http.IHttpResponse response, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  1070. {
  1071. }
  1072. }
  1073. /// <summary>
  1074. /// <para>Performs interceptor processing of requests and responses. Specific interceptors typically interpret or update message headers, and they may wrap the message entity for example to implement a specific transport or content encoding. A <code>HttpProcessor</code> typically maintains a list of interceptors that will be applied to a request or response.</para><para><para> </para><simplesectsep></simplesectsep><para></para><para></para><title>Revision:</title><para>496070 </para></para><para><para>4.0 </para></para>
  1075. /// </summary>
  1076. /// <java-name>
  1077. /// org/apache/http/protocol/HttpProcessor
  1078. /// </java-name>
  1079. [Dot42.DexImport("org/apache/http/protocol/HttpProcessor", AccessFlags = 1537)]
  1080. public partial interface IHttpProcessor : global::Org.Apache.Http.IHttpRequestInterceptor, global::Org.Apache.Http.IHttpResponseInterceptor
  1081. /* scope: __dot42__ */
  1082. {
  1083. }
  1084. /// <summary>
  1085. /// <para>A request interceptor that decides about the transport encoding.</para><para><para></para><para></para><title>Revision:</title><para>573864 </para></para><para><para>4.0 </para></para>
  1086. /// </summary>
  1087. /// <java-name>
  1088. /// org/apache/http/protocol/RequestContent
  1089. /// </java-name>
  1090. [Dot42.DexImport("org/apache/http/protocol/RequestContent", AccessFlags = 33)]
  1091. public partial class RequestContent : global::Org.Apache.Http.IHttpRequestInterceptor
  1092. /* scope: __dot42__ */
  1093. {
  1094. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  1095. public RequestContent() /* MethodBuilder.Create */
  1096. {
  1097. }
  1098. /// <java-name>
  1099. /// process
  1100. /// </java-name>
  1101. [Dot42.DexImport("process", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)V", AccessFlags = 1)]
  1102. public virtual void Process(global::Org.Apache.Http.IHttpRequest request, global::Org.Apache.Http.Protocol.IHttpContext context) /* MethodBuilder.Create */
  1103. {
  1104. }
  1105. }
  1106. /// <summary>
  1107. /// <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>
  1108. /// </summary>
  1109. /// <java-name>
  1110. /// org/apache/http/protocol/RequestDate
  1111. /// </java-name>
  1112. [Dot42.DexImport("org/apache/http/protocol/RequestDate", AccessFlags = 33)]
  1113. public partial class RequestDate : global::Org.Apache.Http.IHttpRequestInterceptor
  1114. /* scope: __dot42__ */
  1115. {
  1116. [Dot42.DexImport("<init>", "()V", Acces