/Generated/v4.1/Org.Apache.Http.Conn.Scheme.cs

https://gitlab.com/Pfhoenix/api · C# · 563 lines · 189 code · 44 blank · 330 comment · 0 complexity · 53b7b195465ba7ae6aa65c1be6673a32 MD5 · raw file

  1. // Copyright (C) 2014 dot42
  2. //
  3. // Original filename: Org.Apache.Http.Conn.Scheme.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.Conn.Scheme
  18. {
  19. /// <java-name>
  20. /// org/apache/http/conn/scheme/HostNameResolver
  21. /// </java-name>
  22. [Dot42.DexImport("org/apache/http/conn/scheme/HostNameResolver", AccessFlags = 1537)]
  23. public partial interface IHostNameResolver
  24. /* scope: __dot42__ */
  25. {
  26. /// <java-name>
  27. /// resolve
  28. /// </java-name>
  29. [Dot42.DexImport("resolve", "(Ljava/lang/String;)Ljava/net/InetAddress;", AccessFlags = 1025)]
  30. global::Java.Net.InetAddress Resolve(string hostname) /* MethodBuilder.Create */ ;
  31. }
  32. /// <summary>
  33. /// <para>The default class for creating sockets.</para><para><para> </para><simplesectsep></simplesectsep><para>Michael Becke </para></para>
  34. /// </summary>
  35. /// <java-name>
  36. /// org/apache/http/conn/scheme/PlainSocketFactory
  37. /// </java-name>
  38. [Dot42.DexImport("org/apache/http/conn/scheme/PlainSocketFactory", AccessFlags = 49)]
  39. public sealed partial class PlainSocketFactory : global::Org.Apache.Http.Conn.Scheme.ISocketFactory
  40. /* scope: __dot42__ */
  41. {
  42. [Dot42.DexImport("<init>", "(Lorg/apache/http/conn/scheme/HostNameResolver;)V", AccessFlags = 1)]
  43. public PlainSocketFactory(global::Org.Apache.Http.Conn.Scheme.IHostNameResolver nameResolver) /* MethodBuilder.Create */
  44. {
  45. }
  46. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  47. public PlainSocketFactory() /* MethodBuilder.Create */
  48. {
  49. }
  50. /// <summary>
  51. /// <para>Gets the singleton instance of this class. </para>
  52. /// </summary>
  53. /// <returns>
  54. /// <para>the one and only plain socket factory </para>
  55. /// </returns>
  56. /// <java-name>
  57. /// getSocketFactory
  58. /// </java-name>
  59. [Dot42.DexImport("getSocketFactory", "()Lorg/apache/http/conn/scheme/PlainSocketFactory;", AccessFlags = 9)]
  60. public static global::Org.Apache.Http.Conn.Scheme.PlainSocketFactory GetSocketFactory() /* MethodBuilder.Create */
  61. {
  62. return default(global::Org.Apache.Http.Conn.Scheme.PlainSocketFactory);
  63. }
  64. /// <summary>
  65. /// <para>Creates a new, unconnected socket. The socket should subsequently be passed to connectSocket.</para><para></para>
  66. /// </summary>
  67. /// <returns>
  68. /// <para>a new socket</para>
  69. /// </returns>
  70. /// <java-name>
  71. /// createSocket
  72. /// </java-name>
  73. [Dot42.DexImport("createSocket", "()Ljava/net/Socket;", AccessFlags = 1)]
  74. public global::Java.Net.Socket CreateSocket() /* MethodBuilder.Create */
  75. {
  76. return default(global::Java.Net.Socket);
  77. }
  78. /// <summary>
  79. /// <para>Connects a socket to the given host.</para><para></para>
  80. /// </summary>
  81. /// <returns>
  82. /// <para>the connected socket. The returned object may be different from the <code>sock</code> argument if this factory supports a layered protocol.</para>
  83. /// </returns>
  84. /// <java-name>
  85. /// connectSocket
  86. /// </java-name>
  87. [Dot42.DexImport("connectSocket", "(Ljava/net/Socket;Ljava/lang/String;ILjava/net/InetAddress;ILorg/apache/http/para" +
  88. "ms/HttpParams;)Ljava/net/Socket;", AccessFlags = 1)]
  89. public global::Java.Net.Socket ConnectSocket(global::Java.Net.Socket sock, string host, int port, global::Java.Net.InetAddress localAddress, int localPort, global::Org.Apache.Http.Params.IHttpParams @params) /* MethodBuilder.Create */
  90. {
  91. return default(global::Java.Net.Socket);
  92. }
  93. /// <summary>
  94. /// <para>Checks whether a socket connection is secure. This factory creates plain socket connections which are not considered secure.</para><para></para>
  95. /// </summary>
  96. /// <returns>
  97. /// <para><code>false</code></para>
  98. /// </returns>
  99. /// <java-name>
  100. /// isSecure
  101. /// </java-name>
  102. [Dot42.DexImport("isSecure", "(Ljava/net/Socket;)Z", AccessFlags = 17)]
  103. public bool IsSecure(global::Java.Net.Socket sock) /* MethodBuilder.Create */
  104. {
  105. return default(bool);
  106. }
  107. /// <summary>
  108. /// <para>Compares this factory with an object. There is only one instance of this class.</para><para></para>
  109. /// </summary>
  110. /// <returns>
  111. /// <para>iff the argument is this object </para>
  112. /// </returns>
  113. /// <java-name>
  114. /// equals
  115. /// </java-name>
  116. [Dot42.DexImport("equals", "(Ljava/lang/Object;)Z", AccessFlags = 1)]
  117. public override bool Equals(object obj) /* MethodBuilder.Create */
  118. {
  119. return default(bool);
  120. }
  121. /// <summary>
  122. /// <para>Obtains a hash code for this object. All instances of this class have the same hash code. There is only one instance of this class. </para>
  123. /// </summary>
  124. /// <java-name>
  125. /// hashCode
  126. /// </java-name>
  127. [Dot42.DexImport("hashCode", "()I", AccessFlags = 1)]
  128. public override int GetHashCode() /* MethodBuilder.Create */
  129. {
  130. return default(int);
  131. }
  132. /// <summary>
  133. /// <para>Gets the singleton instance of this class. </para>
  134. /// </summary>
  135. /// <returns>
  136. /// <para>the one and only plain socket factory </para>
  137. /// </returns>
  138. /// <java-name>
  139. /// getSocketFactory
  140. /// </java-name>
  141. public static global::Org.Apache.Http.Conn.Scheme.PlainSocketFactory SocketFactory
  142. {
  143. [Dot42.DexImport("getSocketFactory", "()Lorg/apache/http/conn/scheme/PlainSocketFactory;", AccessFlags = 9)]
  144. get{ return GetSocketFactory(); }
  145. }
  146. }
  147. /// <summary>
  148. /// <para>Encapsulates specifics of a protocol scheme such as "http" or "https". Schemes are identified by lowercase names. Supported schemes are typically collected in a SchemeRegistry.</para><para>For example, to configure support for "https://" URLs, you could write code like the following: </para><para><pre>
  149. /// Scheme https = new Scheme("https", new MySecureSocketFactory(), 443);
  150. /// SchemeRegistry.DEFAULT.register(https);
  151. /// </pre></para><para><para> </para><simplesectsep></simplesectsep><para>Michael Becke </para><simplesectsep></simplesectsep><para>Jeff Dever </para><simplesectsep></simplesectsep><para> </para></para>
  152. /// </summary>
  153. /// <java-name>
  154. /// org/apache/http/conn/scheme/Scheme
  155. /// </java-name>
  156. [Dot42.DexImport("org/apache/http/conn/scheme/Scheme", AccessFlags = 49)]
  157. public sealed partial class Scheme
  158. /* scope: __dot42__ */
  159. {
  160. /// <summary>
  161. /// <para>Creates a new scheme. Whether the created scheme allows for layered connections depends on the class of <code>factory</code>.</para><para></para>
  162. /// </summary>
  163. [Dot42.DexImport("<init>", "(Ljava/lang/String;Lorg/apache/http/conn/scheme/SocketFactory;I)V", AccessFlags = 1)]
  164. public Scheme(string name, global::Org.Apache.Http.Conn.Scheme.ISocketFactory factory, int port) /* MethodBuilder.Create */
  165. {
  166. }
  167. /// <summary>
  168. /// <para>Obtains the default port.</para><para></para>
  169. /// </summary>
  170. /// <returns>
  171. /// <para>the default port for this scheme </para>
  172. /// </returns>
  173. /// <java-name>
  174. /// getDefaultPort
  175. /// </java-name>
  176. [Dot42.DexImport("getDefaultPort", "()I", AccessFlags = 17)]
  177. public int GetDefaultPort() /* MethodBuilder.Create */
  178. {
  179. return default(int);
  180. }
  181. /// <summary>
  182. /// <para>Obtains the socket factory. If this scheme is layered, the factory implements LayeredSocketFactory.</para><para></para>
  183. /// </summary>
  184. /// <returns>
  185. /// <para>the socket factory for this scheme </para>
  186. /// </returns>
  187. /// <java-name>
  188. /// getSocketFactory
  189. /// </java-name>
  190. [Dot42.DexImport("getSocketFactory", "()Lorg/apache/http/conn/scheme/SocketFactory;", AccessFlags = 17)]
  191. public global::Org.Apache.Http.Conn.Scheme.ISocketFactory GetSocketFactory() /* MethodBuilder.Create */
  192. {
  193. return default(global::Org.Apache.Http.Conn.Scheme.ISocketFactory);
  194. }
  195. /// <summary>
  196. /// <para>Obtains the scheme name.</para><para></para>
  197. /// </summary>
  198. /// <returns>
  199. /// <para>the name of this scheme, in lowercase </para>
  200. /// </returns>
  201. /// <java-name>
  202. /// getName
  203. /// </java-name>
  204. [Dot42.DexImport("getName", "()Ljava/lang/String;", AccessFlags = 17)]
  205. public string GetName() /* MethodBuilder.Create */
  206. {
  207. return default(string);
  208. }
  209. /// <summary>
  210. /// <para>Indicates whether this scheme allows for layered connections.</para><para></para>
  211. /// </summary>
  212. /// <returns>
  213. /// <para><code>true</code> if layered connections are possible, <code>false</code> otherwise </para>
  214. /// </returns>
  215. /// <java-name>
  216. /// isLayered
  217. /// </java-name>
  218. [Dot42.DexImport("isLayered", "()Z", AccessFlags = 17)]
  219. public bool IsLayered() /* MethodBuilder.Create */
  220. {
  221. return default(bool);
  222. }
  223. /// <summary>
  224. /// <para>Resolves the correct port for this scheme. Returns the given port if it is valid, the default port otherwise.</para><para></para>
  225. /// </summary>
  226. /// <returns>
  227. /// <para>the given port or the defaultPort </para>
  228. /// </returns>
  229. /// <java-name>
  230. /// resolvePort
  231. /// </java-name>
  232. [Dot42.DexImport("resolvePort", "(I)I", AccessFlags = 17)]
  233. public int ResolvePort(int port) /* MethodBuilder.Create */
  234. {
  235. return default(int);
  236. }
  237. /// <summary>
  238. /// <para>Return a string representation of this object.</para><para></para>
  239. /// </summary>
  240. /// <returns>
  241. /// <para>a human-readable string description of this scheme </para>
  242. /// </returns>
  243. /// <java-name>
  244. /// toString
  245. /// </java-name>
  246. [Dot42.DexImport("toString", "()Ljava/lang/String;", AccessFlags = 17)]
  247. public override string ToString() /* MethodBuilder.Create */
  248. {
  249. return default(string);
  250. }
  251. /// <summary>
  252. /// <para>Compares this scheme to an object.</para><para></para>
  253. /// </summary>
  254. /// <returns>
  255. /// <para><code>true</code> iff the argument is equal to this scheme </para>
  256. /// </returns>
  257. /// <java-name>
  258. /// equals
  259. /// </java-name>
  260. [Dot42.DexImport("equals", "(Ljava/lang/Object;)Z", AccessFlags = 17)]
  261. public override bool Equals(object obj) /* MethodBuilder.Create */
  262. {
  263. return default(bool);
  264. }
  265. /// <summary>
  266. /// <para>Obtains a hash code for this scheme.</para><para></para>
  267. /// </summary>
  268. /// <returns>
  269. /// <para>the hash code </para>
  270. /// </returns>
  271. /// <java-name>
  272. /// hashCode
  273. /// </java-name>
  274. [Dot42.DexImport("hashCode", "()I", AccessFlags = 1)]
  275. public override int GetHashCode() /* MethodBuilder.Create */
  276. {
  277. return default(int);
  278. }
  279. [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
  280. internal Scheme() /* TypeBuilder.AddDefaultConstructor */
  281. {
  282. }
  283. /// <summary>
  284. /// <para>Obtains the default port.</para><para></para>
  285. /// </summary>
  286. /// <returns>
  287. /// <para>the default port for this scheme </para>
  288. /// </returns>
  289. /// <java-name>
  290. /// getDefaultPort
  291. /// </java-name>
  292. public int DefaultPort
  293. {
  294. [Dot42.DexImport("getDefaultPort", "()I", AccessFlags = 17)]
  295. get{ return GetDefaultPort(); }
  296. }
  297. /// <summary>
  298. /// <para>Obtains the socket factory. If this scheme is layered, the factory implements LayeredSocketFactory.</para><para></para>
  299. /// </summary>
  300. /// <returns>
  301. /// <para>the socket factory for this scheme </para>
  302. /// </returns>
  303. /// <java-name>
  304. /// getSocketFactory
  305. /// </java-name>
  306. public global::Org.Apache.Http.Conn.Scheme.ISocketFactory SocketFactory
  307. {
  308. [Dot42.DexImport("getSocketFactory", "()Lorg/apache/http/conn/scheme/SocketFactory;", AccessFlags = 17)]
  309. get{ return GetSocketFactory(); }
  310. }
  311. /// <summary>
  312. /// <para>Obtains the scheme name.</para><para></para>
  313. /// </summary>
  314. /// <returns>
  315. /// <para>the name of this scheme, in lowercase </para>
  316. /// </returns>
  317. /// <java-name>
  318. /// getName
  319. /// </java-name>
  320. public string Name
  321. {
  322. [Dot42.DexImport("getName", "()Ljava/lang/String;", AccessFlags = 17)]
  323. get{ return GetName(); }
  324. }
  325. }
  326. /// <summary>
  327. /// <para>A factory for creating and connecting sockets. The factory encapsulates the logic for establishing a socket connection. <br></br> Both Object.equals() and Object.hashCode() must be overridden for the correct operation of some connection managers.</para><para><para> </para><simplesectsep></simplesectsep><para>Michael Becke </para><simplesectsep></simplesectsep><para> </para></para>
  328. /// </summary>
  329. /// <java-name>
  330. /// org/apache/http/conn/scheme/SocketFactory
  331. /// </java-name>
  332. [Dot42.DexImport("org/apache/http/conn/scheme/SocketFactory", AccessFlags = 1537)]
  333. public partial interface ISocketFactory
  334. /* scope: __dot42__ */
  335. {
  336. /// <summary>
  337. /// <para>Creates a new, unconnected socket. The socket should subsequently be passed to connectSocket.</para><para></para>
  338. /// </summary>
  339. /// <returns>
  340. /// <para>a new socket</para>
  341. /// </returns>
  342. /// <java-name>
  343. /// createSocket
  344. /// </java-name>
  345. [Dot42.DexImport("createSocket", "()Ljava/net/Socket;", AccessFlags = 1025)]
  346. global::Java.Net.Socket CreateSocket() /* MethodBuilder.Create */ ;
  347. /// <summary>
  348. /// <para>Connects a socket to the given host.</para><para></para>
  349. /// </summary>
  350. /// <returns>
  351. /// <para>the connected socket. The returned object may be different from the <code>sock</code> argument if this factory supports a layered protocol.</para>
  352. /// </returns>
  353. /// <java-name>
  354. /// connectSocket
  355. /// </java-name>
  356. [Dot42.DexImport("connectSocket", "(Ljava/net/Socket;Ljava/lang/String;ILjava/net/InetAddress;ILorg/apache/http/para" +
  357. "ms/HttpParams;)Ljava/net/Socket;", AccessFlags = 1025)]
  358. global::Java.Net.Socket ConnectSocket(global::Java.Net.Socket sock, string host, int port, global::Java.Net.InetAddress localAddress, int localPort, global::Org.Apache.Http.Params.IHttpParams @params) /* MethodBuilder.Create */ ;
  359. /// <summary>
  360. /// <para>Checks whether a socket provides a secure connection. The socket must be connected by this factory. The factory will <b>not</b> perform I/O operations in this method. <br></br> As a rule of thumb, plain sockets are not secure and TLS/SSL sockets are secure. However, there may be application specific deviations. For example, a plain socket to a host in the same intranet ("trusted zone") could be considered secure. On the other hand, a TLS/SSL socket could be considered insecure based on the cypher suite chosen for the connection.</para><para></para>
  361. /// </summary>
  362. /// <returns>
  363. /// <para><code>true</code> if the connection of the socket should be considered secure, or <code>false</code> if it should not</para>
  364. /// </returns>
  365. /// <java-name>
  366. /// isSecure
  367. /// </java-name>
  368. [Dot42.DexImport("isSecure", "(Ljava/net/Socket;)Z", AccessFlags = 1025)]
  369. bool IsSecure(global::Java.Net.Socket sock) /* MethodBuilder.Create */ ;
  370. }
  371. /// <summary>
  372. /// <para>A set of supported protocol schemes. Schemes are identified by lowercase names.</para><para><para></para><para></para><title>Revision:</title><para>648356 </para><title>Date:</title><para>2008-04-15 10:57:53 -0700 (Tue, 15 Apr 2008) </para></para><para><para>4.0 </para></para>
  373. /// </summary>
  374. /// <java-name>
  375. /// org/apache/http/conn/scheme/SchemeRegistry
  376. /// </java-name>
  377. [Dot42.DexImport("org/apache/http/conn/scheme/SchemeRegistry", AccessFlags = 49)]
  378. public sealed partial class SchemeRegistry
  379. /* scope: __dot42__ */
  380. {
  381. /// <summary>
  382. /// <para>Creates a new, empty scheme registry. </para>
  383. /// </summary>
  384. [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
  385. public SchemeRegistry() /* MethodBuilder.Create */
  386. {
  387. }
  388. /// <summary>
  389. /// <para>Obtains the scheme for a host. Convenience method for <code>getScheme(host.getSchemeName())</code></para><para><code> </code></para>
  390. /// </summary>
  391. /// <returns>
  392. /// <para>the scheme for the given host, never <code>null</code></para>
  393. /// </returns>
  394. /// <java-name>
  395. /// getScheme
  396. /// </java-name>
  397. [Dot42.DexImport("getScheme", "(Ljava/lang/String;)Lorg/apache/http/conn/scheme/Scheme;", AccessFlags = 49)]
  398. public global::Org.Apache.Http.Conn.Scheme.Scheme GetScheme(string host) /* MethodBuilder.Create */
  399. {
  400. return default(global::Org.Apache.Http.Conn.Scheme.Scheme);
  401. }
  402. /// <summary>
  403. /// <para>Obtains the scheme for a host. Convenience method for <code>getScheme(host.getSchemeName())</code></para><para><code> </code></para>
  404. /// </summary>
  405. /// <returns>
  406. /// <para>the scheme for the given host, never <code>null</code></para>
  407. /// </returns>
  408. /// <java-name>
  409. /// getScheme
  410. /// </java-name>
  411. [Dot42.DexImport("getScheme", "(Lorg/apache/http/HttpHost;)Lorg/apache/http/conn/scheme/Scheme;", AccessFlags = 49)]
  412. public global::Org.Apache.Http.Conn.Scheme.Scheme GetScheme(global::Org.Apache.Http.HttpHost host) /* MethodBuilder.Create */
  413. {
  414. return default(global::Org.Apache.Http.Conn.Scheme.Scheme);
  415. }
  416. /// <summary>
  417. /// <para>Obtains a scheme by name, if registered.</para><para></para>
  418. /// </summary>
  419. /// <returns>
  420. /// <para>the scheme, or <code>null</code> if there is none by this name </para>
  421. /// </returns>
  422. /// <java-name>
  423. /// get
  424. /// </java-name>
  425. [Dot42.DexImport("get", "(Ljava/lang/String;)Lorg/apache/http/conn/scheme/Scheme;", AccessFlags = 49)]
  426. public global::Org.Apache.Http.Conn.Scheme.Scheme Get(string name) /* MethodBuilder.Create */
  427. {
  428. return default(global::Org.Apache.Http.Conn.Scheme.Scheme);
  429. }
  430. /// <summary>
  431. /// <para>Registers a scheme. The scheme can later be retrieved by its name using getScheme or get.</para><para></para>
  432. /// </summary>
  433. /// <returns>
  434. /// <para>the scheme previously registered with that name, or <code>null</code> if none was registered </para>
  435. /// </returns>
  436. /// <java-name>
  437. /// register
  438. /// </java-name>
  439. [Dot42.DexImport("register", "(Lorg/apache/http/conn/scheme/Scheme;)Lorg/apache/http/conn/scheme/Scheme;", AccessFlags = 49)]
  440. public global::Org.Apache.Http.Conn.Scheme.Scheme Register(global::Org.Apache.Http.Conn.Scheme.Scheme sch) /* MethodBuilder.Create */
  441. {
  442. return default(global::Org.Apache.Http.Conn.Scheme.Scheme);
  443. }
  444. /// <summary>
  445. /// <para>Unregisters a scheme.</para><para></para>
  446. /// </summary>
  447. /// <returns>
  448. /// <para>the unregistered scheme, or <code>null</code> if there was none </para>
  449. /// </returns>
  450. /// <java-name>
  451. /// unregister
  452. /// </java-name>
  453. [Dot42.DexImport("unregister", "(Ljava/lang/String;)Lorg/apache/http/conn/scheme/Scheme;", AccessFlags = 49)]
  454. public global::Org.Apache.Http.Conn.Scheme.Scheme Unregister(string name) /* MethodBuilder.Create */
  455. {
  456. return default(global::Org.Apache.Http.Conn.Scheme.Scheme);
  457. }
  458. /// <summary>
  459. /// <para>Obtains the names of the registered schemes in their default order.</para><para></para>
  460. /// </summary>
  461. /// <returns>
  462. /// <para>List containing registered scheme names. </para>
  463. /// </returns>
  464. /// <java-name>
  465. /// getSchemeNames
  466. /// </java-name>
  467. [Dot42.DexImport("getSchemeNames", "()Ljava/util/List;", AccessFlags = 49, Signature = "()Ljava/util/List<Ljava/lang/String;>;")]
  468. public global::Java.Util.IList<string> GetSchemeNames() /* MethodBuilder.Create */
  469. {
  470. return default(global::Java.Util.IList<string>);
  471. }
  472. /// <summary>
  473. /// <para>Populates the internal collection of registered protocol schemes with the content of the map passed as a parameter.</para><para></para>
  474. /// </summary>
  475. /// <java-name>
  476. /// setItems
  477. /// </java-name>
  478. [Dot42.DexImport("setItems", "(Ljava/util/Map;)V", AccessFlags = 33, Signature = "(Ljava/util/Map<Ljava/lang/String;Lorg/apache/http/conn/scheme/Scheme;>;)V")]
  479. public void SetItems(global::Java.Util.IMap<string, global::Org.Apache.Http.Conn.Scheme.Scheme> map) /* MethodBuilder.Create */
  480. {
  481. }
  482. /// <summary>
  483. /// <para>Obtains the names of the registered schemes in their default order.</para><para></para>
  484. /// </summary>
  485. /// <returns>
  486. /// <para>List containing registered scheme names. </para>
  487. /// </returns>
  488. /// <java-name>
  489. /// getSchemeNames
  490. /// </java-name>
  491. public global::Java.Util.IList<string> SchemeNames
  492. {
  493. [Dot42.DexImport("getSchemeNames", "()Ljava/util/List;", AccessFlags = 49, Signature = "()Ljava/util/List<Ljava/lang/String;>;")]
  494. get{ return GetSchemeNames(); }
  495. }
  496. }
  497. /// <summary>
  498. /// <para>A SocketFactory for layered sockets (SSL/TLS). See there for things to consider when implementing a socket factory.</para><para><para>Michael Becke </para><simplesectsep></simplesectsep><para> </para><para>4.0 </para></para>
  499. /// </summary>
  500. /// <java-name>
  501. /// org/apache/http/conn/scheme/LayeredSocketFactory
  502. /// </java-name>
  503. [Dot42.DexImport("org/apache/http/conn/scheme/LayeredSocketFactory", AccessFlags = 1537)]
  504. public partial interface ILayeredSocketFactory : global::Org.Apache.Http.Conn.Scheme.ISocketFactory
  505. /* scope: __dot42__ */
  506. {
  507. /// <summary>
  508. /// <para>Returns a socket connected to the given host that is layered over an existing socket. Used primarily for creating secure sockets through proxies.</para><para></para>
  509. /// </summary>
  510. /// <returns>
  511. /// <para>Socket a new socket</para>
  512. /// </returns>
  513. /// <java-name>
  514. /// createSocket
  515. /// </java-name>
  516. [Dot42.DexImport("createSocket", "(Ljava/net/Socket;Ljava/lang/String;IZ)Ljava/net/Socket;", AccessFlags = 1025)]
  517. global::Java.Net.Socket CreateSocket(global::Java.Net.Socket socket, string host, int port, bool autoClose) /* MethodBuilder.Create */ ;
  518. }
  519. }