Package com.storedobject.tools
Class AbstractJSONService<T>
java.lang.Object
com.storedobject.tools.SystemDevice
com.storedobject.tools.AbstractJSONService<T>
-
Field Summary
FieldsFields inherited from class com.storedobject.tools.SystemDevice
login, server -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected final voidintintprotected Stringprotected abstract OutputStreamprotected Stringprotected abstract Writerfinal booleanprotected abstract booleanprotected abstract voidprotected abstract Tpush()protected abstract voidprotected abstract voidsetContentType(String contentType) protected abstract voidsetStatus(int status) protected abstract voidsetStreamData(StreamData streamData) Methods inherited from class com.storedobject.tools.SystemDevice
getDefaultEntity, getDeviceLayout, getDriverIdentifier, getIdentifier, getIPAddress, getLocale, getMajorVersion, getMessageViewer, getMinorVersion, getServer, loggedIn, notify, setDeviceLayout, setIPAddress, setLocale, setServer, showNotification, showNotification, showNotification, showNotification, view
-
Field Details
-
debug
protected final boolean debug
-
-
Constructor Details
-
AbstractJSONService
-
-
Method Details
-
getOutputStream
-
doService
- Throws:
IOException
-
push
-
pop
-
close
public void close() -
notToRespond
protected abstract boolean notToRespond() -
getWriter
-
responded
protected abstract void responded() -
getDeviceType
-
getIdentifierTag
- Specified by:
getIdentifierTagin classSystemDevice
-
getPackageName
- Specified by:
getPackageNamein classSystemDevice
-
getDeviceHeight
public int getDeviceHeight()- Specified by:
getDeviceHeightin interfaceDevice- Overrides:
getDeviceHeightin classSystemDevice
-
getDeviceWidth
public int getDeviceWidth()- Specified by:
getDeviceWidthin interfaceDevice- Overrides:
getDeviceWidthin classSystemDevice
-
setStreamData
- Throws:
SOException
-
setContentType
-
setStatus
protected abstract void setStatus(int status) -
isAuthentic
public final boolean isAuthentic()
-