Author: atsushi
Date: 2007-12-07 06:34:25 -0500 (Fri, 07 Dec 2007)
New Revision: 90904
Added:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/ChangeLog
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpSecurity.cs
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpSecurityMode.cs
Log:
2007-12-07 Atsushi Enomoto <[EMAIL PROTECTED]>
* WebHttpBinding.cs WebHttpSecurity.cs WebHttpSecurityMode.cs:
stubs.
Added: trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/ChangeLog
===================================================================
--- trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/ChangeLog
2007-12-07 11:15:15 UTC (rev 90903)
+++ trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/ChangeLog
2007-12-07 11:34:25 UTC (rev 90904)
@@ -0,0 +1,4 @@
+2007-12-07 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * WebHttpBinding.cs WebHttpSecurity.cs WebHttpSecurityMode.cs:
+ stubs.
Added:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs
===================================================================
---
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs
2007-12-07 11:15:15 UTC (rev 90903)
+++
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs
2007-12-07 11:34:25 UTC (rev 90904)
@@ -0,0 +1,126 @@
+using System;
+using System.ServiceModel.Channels;
+using System.Text;
+using System.Xml;
+
+namespace System.ServiceModel
+{
+ [MonoTODO]
+ public class WebHttpBinding : Binding
+ {
+ [MonoTODO]
+ public WebHttpBinding ()
+ {
+ }
+
+ [MonoTODO]
+ public WebHttpBinding (WebHttpSecurityMode mode)
+ {
+ security.Mode = mode;
+ }
+
+ [MonoTODO]
+ public WebHttpBinding (string configurationName)
+ {
+ }
+
+ int max_buffer_size = 0x40000;
+ long max_buffer_pool_size = 0x10000,
+ max_received_msg_size = 0x40000;
+ Uri proxy_address;
+ XmlDictionaryReaderQuotas quotas;
+ WebHttpSecurity security = new WebHttpSecurity ();
+ TransferMode transfer_mode;
+ bool allow_cookies, bypass_proxy_on_local,
+ use_default_web_proxy;
+ Encoding write_encoding;
+ HostNameComparisonMode cmp_mode;
+
+ [MonoTODO]
+ public bool AllowCookies {
+ get { return allow_cookies; }
+ set { allow_cookies = value; }
+ }
+
+ [MonoTODO]
+ public bool BypassProxyOnLocal {
+ get { return bypass_proxy_on_local; }
+ set { bypass_proxy_on_local = value; }
+ }
+
+ [MonoTODO]
+ public EnvelopeVersion EnvelopeVersion {
+ get { return EnvelopeVersion.Soap12; }
+ }
+
+ [MonoTODO]
+ public HostNameComparisonMode HostNameComparisonMode {
+ get { return cmp_mode; }
+ set { cmp_mode = value; }
+ }
+
+ [MonoTODO]
+ public long MaxBufferPoolSize {
+ get { return max_buffer_pool_size; }
+ set { max_buffer_pool_size = value; }
+ }
+
+ [MonoTODO]
+ public int MaxBufferSize {
+ get { return max_buffer_size; }
+ set { max_buffer_size = value; }
+ }
+
+ [MonoTODO]
+ public long MaxReceivedMessageSize {
+ get { return max_received_msg_size; }
+ set { max_received_msg_size = value; }
+ }
+
+ [MonoTODO]
+ public Uri ProxyAddress {
+ get { return proxy_address; }
+ set { proxy_address = value; }
+ }
+
+ [MonoTODO]
+ public XmlDictionaryReaderQuotas ReaderQuotas {
+ get { return quotas; }
+ set { quotas = value; }
+ }
+
+ [MonoTODO]
+ public override string Scheme {
+ get { return Uri.UriSchemeHttp; }
+ }
+
+ [MonoTODO]
+ public WebHttpSecurity Security {
+ get { return security; }
+ }
+
+ [MonoTODO]
+ public TransferMode TransferMode {
+ get { return transfer_mode; }
+ set { transfer_mode = value; }
+ }
+
+ [MonoTODO]
+ public bool UseDefaultWebProxy {
+ get { return use_default_web_proxy; }
+ set { use_default_web_proxy = value; }
+ }
+
+ [MonoTODO]
+ public Encoding WriteEncoding {
+ get { return write_encoding; }
+ set { write_encoding = value; }
+ }
+
+ [MonoTODO]
+ public override BindingElementCollection CreateBindingElements
()
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
Property changes on:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpBinding.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpSecurity.cs
===================================================================
---
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpSecurity.cs
2007-12-07 11:15:15 UTC (rev 90903)
+++
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpSecurity.cs
2007-12-07 11:34:25 UTC (rev 90904)
@@ -0,0 +1,21 @@
+namespace System.ServiceModel
+{
+ public sealed class WebHttpSecurity
+ {
+ internal WebHttpSecurity ()
+ {
+ }
+
+ WebHttpSecurityMode mode;
+
+ public WebHttpSecurityMode Mode {
+ get { return mode; }
+ set { mode = value; }
+ }
+
+ [MonoTODO] // how can I instantiate it?
+ public HttpTransportSecurity Transport {
+ get { throw new NotImplementedException (); }
+ }
+ }
+}
Property changes on:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpSecurity.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpSecurityMode.cs
===================================================================
---
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpSecurityMode.cs
2007-12-07 11:15:15 UTC (rev 90903)
+++
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpSecurityMode.cs
2007-12-07 11:34:25 UTC (rev 90904)
@@ -0,0 +1,9 @@
+namespace System.ServiceModel
+{
+ public enum WebHttpSecurityMode
+ {
+ None,
+ Transport,
+ TransportCredentialOnly
+ }
+}
Property changes on:
trunk/olive/class/System.ServiceModel.Web/System.ServiceModel/WebHttpSecurityMode.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches