SolrNet: HttpWebAdapters.WebResponseStub Class Reference

SolrNet

HttpWebAdapters.WebResponseStub Class Reference

Inheritance diagram for HttpWebAdapters.WebResponseStub:

List of all members.

Public Member Functions

string GetResponseHeader (string headerName)
 Gets the contents of a header that was returned with the response.

Properties

CookieCollection Cookies [get, set]
 Gets or sets the cookies that are associated with this response.
string ContentEncoding [get, set]
 Gets the method that is used to encode the body of the response.
string CharacterSet [get, set]
 Gets the character set of the response.
string Server [get, set]
 Gets the name of the server that sent the response.
DateTime LastModified [get, set]
 Gets the last date and time that the contents of the response were modified.
HttpStatusCode StatusCode [get, set]
 Gets the status of the response.
string StatusDescription [get, set]
 Gets the status description returned with the response.
Version ProtocolVersion [get, set]
 Gets the version of the HTTP protocol that is used in the response.
string Method [get, set]
 Gets the method that is used to return the response.

Member Function Documentation

string HttpWebAdapters.WebResponseStub.GetResponseHeader ( string  headerName )

Gets the contents of a header that was returned with the response.

Returns:
The contents of the specified header.
Parameters:
headerNameThe header value to return.
Exceptions:
T:System.ObjectDisposedExceptionThe current instance has been disposed.

Implements HttpWebAdapters.IHttpWebResponse.


Property Documentation

string HttpWebAdapters.WebResponseStub.CharacterSet [get, set]

Gets the character set of the response.

Returns:
A string that contains the character set of the response.
Exceptions:
T:System.ObjectDisposedExceptionThe current instance has been disposed.

<PermissionSet><IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" flags="UnmanagedCode"></PermissionSet>

Implements HttpWebAdapters.IHttpWebResponse.

string HttpWebAdapters.WebResponseStub.ContentEncoding [get, set]

Gets the method that is used to encode the body of the response.

Returns:
A string that describes the method that is used to encode the body of the response.
Exceptions:
T:System.ObjectDisposedExceptionThe current instance has been disposed.

Implements HttpWebAdapters.IHttpWebResponse.

CookieCollection HttpWebAdapters.WebResponseStub.Cookies [get, set]

Gets or sets the cookies that are associated with this response.

Returns:
A T:System.Net.CookieCollection that contains the cookies that are associated with this response.
Exceptions:
T:System.ObjectDisposedExceptionThe current instance has been disposed.

Implements HttpWebAdapters.IHttpWebResponse.

DateTime HttpWebAdapters.WebResponseStub.LastModified [get, set]

Gets the last date and time that the contents of the response were modified.

Returns:
A T:System.DateTime that contains the date and time that the contents of the response were modified.
Exceptions:
T:System.ObjectDisposedExceptionThe current instance has been disposed.

<PermissionSet><IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" flags="UnmanagedCode, ControlEvidence"></PermissionSet>

Implements HttpWebAdapters.IHttpWebResponse.

string HttpWebAdapters.WebResponseStub.Method [get, set]

Gets the method that is used to return the response.

Returns:
A string that contains the HTTP method that is used to return the response.
Exceptions:
T:System.ObjectDisposedExceptionThe current instance has been disposed.

Implements HttpWebAdapters.IHttpWebResponse.

Version HttpWebAdapters.WebResponseStub.ProtocolVersion [get, set]

Gets the version of the HTTP protocol that is used in the response.

Returns:
A T:System.Version that contains the HTTP protocol version of the response.
Exceptions:
T:System.ObjectDisposedExceptionThe current instance has been disposed.

Implements HttpWebAdapters.IHttpWebResponse.

string HttpWebAdapters.WebResponseStub.Server [get, set]

Gets the name of the server that sent the response.

Returns:
A string that contains the name of the server that sent the response.
Exceptions:
T:System.ObjectDisposedExceptionThe current instance has been disposed.

Implements HttpWebAdapters.IHttpWebResponse.

HttpStatusCode HttpWebAdapters.WebResponseStub.StatusCode [get, set]

Gets the status of the response.

Returns:
One of the T:System.Net.HttpStatusCode values.
Exceptions:
T:System.ObjectDisposedExceptionThe current instance has been disposed.

Implements HttpWebAdapters.IHttpWebResponse.

string HttpWebAdapters.WebResponseStub.StatusDescription [get, set]

Gets the status description returned with the response.

Returns:
A string that describes the status of the response.
Exceptions:
T:System.ObjectDisposedExceptionThe current instance has been disposed.

Implements HttpWebAdapters.IHttpWebResponse.


The documentation for this class was generated from the following file:
  • HttpWebAdapters/WebResponseStub.cs
Generated on Sun May 3 2015 17:19:05 for SolrNet by  doxygen 1.7.2