public class

HttpNetwork

extends Object
implements Network
java.lang.Object
   ↳ com.neomades.content.network.HttpNetwork

Summary

Public Constructors
HttpNetwork()
Public Methods
NetworkResponse performQuery(ContentQuery query)
Performs the specified query.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.neomades.content.network.Network

Public Constructors

public HttpNetwork ()

Public Methods

public NetworkResponse performQuery (ContentQuery query)

Performs the specified query.

Be careful, returning null will send an ContentError, a log message is printed to the console.

Parameters
query query to process
Returns
Throws
AuthenticateException if the server sends HTTP Code response 401 (Unauthorized) or 403 (Forbidden) during authentication query.
NoConnectionException if the network connectivity does not exist and the device could not establish connections and pass data.
ServerException if the server sends HTTP Code response 5XX.
TimeoutException if the network
NetworkException if an unknown error occurs on errors
See Also