Provides a connection to an Endeca MDEX Engine over HTTP. Also
provides a mechanism for issuing queries to the MDEX Engine.

C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class HttpENEConnection : IENEConnection
<SerializableAttribute> _ Public Class HttpENEConnection _ Implements IENEConnection
[SerializableAttribute] public ref class HttpENEConnection : IENEConnection

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | HttpENEConnectionHttpENEConnectionNew()() |
Default empty constructor.
|
![]() | HttpENEConnectionHttpENEConnectionNew(String, String) |
Constructor for connection to an Endeca MDEX Engine over HTTP.
|
![]() | HttpENEConnectionHttpENEConnectionNew(String, Int32) |
Constructor for connection to an Endeca MDEX Engine over HTTP.
|
![]() | EnableSSL()() |
Enables ssl. Will attempt to use the first personal certificate it finds issued by "Endeca Technologies, Inc." stored in Local Machine's peronsal certificate repository
|
![]() | EnableSSL(X509Certificate) |
Enables ssl
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode()() | Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() | GetType()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Hostname |
Get and sets the hostname of the MDEX Engine.
|
![]() | MemberwiseClone()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Port |
Gets and sets the port of the MDEX Engine.
|
![]() | Query(ENEQuery) |
Issues a query against the MDEX Engine.
|
![]() | SetPort(String) |
Sets the port of the MDEX Engine.
|
![]() | ToString()() | (Inherited from Object.) |

The HttpENEConnection is currently the only implementation
of the IENEConnection interface.
This connection is a repository for hostname and port configuration parameters for HTTP connections to an Endeca MDEX Engine. The connection does not open a persistant connection to the MDEX Engine. The instantiation of this connection does not initiate an HTTP socket connection. Instead each issuance of the Query(ENEQuery) method opens a HTTP socket connection(s), makes the requests, and closes the connection(s).

An example usage of the HttpENEConnection in C# and ASP.NET:
CopyC#

IENEConnection nec = new HttpENEConnection("engine.endeca.com", 5001); ENEQuery usq = new UrlENEQuery(Page.Request.Url.Query); ENEQueryResults qr = nec.Query(usq);

Object | ||
![]() | HttpENEConnection | |
![]() | AuthHttpENEConnection |