Package com.storedobject.tools
Class JSONService
java.lang.Object
com.storedobject.tools.SystemDevice
com.storedobject.tools.AbstractJSONService<jakarta.servlet.http.HttpServletResponse>
com.storedobject.tools.JSONService
- All Implemented Interfaces:
Device,ErrorLogger
-
Field Summary
Fields inherited from class com.storedobject.tools.AbstractJSONService
debugFields inherited from class com.storedobject.tools.SystemDevice
login, server -
Constructor Summary
ConstructorsConstructorDescriptionJSONService(String link, jakarta.servlet.http.HttpSession session, String token) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected OutputStreamprotected PrintWriterprotected booleanprotected voidpop(jakarta.servlet.http.HttpServletResponse saveContext) protected jakarta.servlet.http.HttpServletResponsepush()protected voidprotected voidsetContentType(String contentType) protected voidsetStatus(int status) protected voidsetStreamData(StreamData streamData) Methods inherited from class com.storedobject.tools.AbstractJSONService
doService, getDeviceHeight, getDeviceType, getDeviceWidth, getIdentifierTag, getPackageName, isAuthenticMethods 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
-
Constructor Details
-
JSONService
-
-
Method Details
-
getOutputStream
- Specified by:
getOutputStreamin classAbstractJSONService<jakarta.servlet.http.HttpServletResponse>
-
setStatus
protected void setStatus(int status) - Specified by:
setStatusin classAbstractJSONService<jakarta.servlet.http.HttpServletResponse>
-
close
public void close()- Specified by:
closein interfaceDevice- Overrides:
closein classAbstractJSONService<jakarta.servlet.http.HttpServletResponse>
-
notToRespond
protected boolean notToRespond()- Specified by:
notToRespondin classAbstractJSONService<jakarta.servlet.http.HttpServletResponse>
-
responded
protected void responded()- Specified by:
respondedin classAbstractJSONService<jakarta.servlet.http.HttpServletResponse>
-
setStreamData
- Specified by:
setStreamDatain classAbstractJSONService<jakarta.servlet.http.HttpServletResponse>- Throws:
SOException
-
setContentType
- Specified by:
setContentTypein classAbstractJSONService<jakarta.servlet.http.HttpServletResponse>
-
push
protected jakarta.servlet.http.HttpServletResponse push()- Specified by:
pushin classAbstractJSONService<jakarta.servlet.http.HttpServletResponse>
-
pop
protected void pop(jakarta.servlet.http.HttpServletResponse saveContext) - Specified by:
popin classAbstractJSONService<jakarta.servlet.http.HttpServletResponse>
-
getWriter
- Specified by:
getWriterin classAbstractJSONService<jakarta.servlet.http.HttpServletResponse>
-