public abstract class MythTvApiContext
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MythTvApiContext.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
backendHost |
protected int |
backendPort |
protected EtagInterceptingOkClient |
client |
static int |
DEFAULT_API_PORT |
static int |
ETAG_MATCH_HTTP_RESPONSE_CODE |
protected retrofit.RestAdapter |
restAdapter |
| Constructor and Description |
|---|
MythTvApiContext() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBackendHost() |
int |
getBackendPort() |
ETagInfo |
getEtag(java.lang.String requestId,
boolean createIfMissing) |
java.util.Map<java.lang.String,ETagInfo> |
getEtags() |
protected void |
initialize() |
static MythTvApiContext.Builder |
newBuilder() |
public static final int DEFAULT_API_PORT
public static final int ETAG_MATCH_HTTP_RESPONSE_CODE
protected java.lang.String backendHost
protected int backendPort
protected EtagInterceptingOkClient client
protected retrofit.RestAdapter restAdapter
public static MythTvApiContext.Builder newBuilder()
public int getBackendPort()
public java.lang.String getBackendHost()
public ETagInfo getEtag(java.lang.String requestId, boolean createIfMissing)
public java.util.Map<java.lang.String,ETagInfo> getEtags()
protected void initialize()