public class JerseyRestEngine extends java.lang.Object implements IRestEngine
HEADER_ACCESS, HEADER_APP_JSON, LOG| Constructor and Description |
|---|
JerseyRestEngine() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(BreinConfig breinConfig)
configuration of the rest client
|
BreinResult |
doLookup(BreinLookup breinLookup)
performs a lookup and provides details
|
void |
doRequest(BreinActivity breinActivity)
invokes the post request
|
void |
terminate()
stops possible functionality (e.g.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFullyQualifiedUrl, getRequestBody, getRestEngine, isUrlValid, validate, validateBreinBase, validateConfig, validateUrlpublic void doRequest(BreinActivity breinActivity)
doRequest in interface IRestEnginebreinActivity - datapublic BreinResult doLookup(BreinLookup breinLookup)
doLookup in interface IRestEnginebreinLookup - contains request datapublic void terminate()
terminate in interface IRestEnginepublic void configure(BreinConfig breinConfig)
configure in interface IRestEnginebreinConfig - configuration objectCopyright © Breinify - All Rights Reserved.