public class

NoNetwork

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

Class Overview

Network implementation that does nothing when performing queries.

Summary

Fields
public static final NoNetwork INSTANCE
Public Constructors
NoNetwork()
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

Fields

public static final NoNetwork INSTANCE

Public Constructors

public NoNetwork ()

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