|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jakewharton.domainr.ServiceManager
public class ServiceManager
Class to manage service creation with default settings.
Constructor Summary | |
---|---|
ServiceManager()
Create a new manager instance. |
Method Summary | |
---|---|
InfoService |
infoService()
Get info service instance. |
static InfoService |
newInfoService()
Create new info service instance. |
static SearchService |
newSearchService()
Create new search service instance. |
SearchService |
searchService()
Get search service instance. |
ServiceManager |
setConnectionTimeout(int connectionTimeout)
Set default connection timeout. |
ServiceManager |
setReadTimeout(int readTimeout)
Set default read timeout. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceManager()
Method Detail |
---|
public ServiceManager setConnectionTimeout(int connectionTimeout)
connectionTimeout
- Timeout (in milliseconds).
public ServiceManager setReadTimeout(int readTimeout)
readTimeout
- Timeout (in milliseconds).
public InfoService infoService()
public SearchService searchService()
public static final InfoService newInfoService()
public static final SearchService newSearchService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |