Package org.webswing.server.util
Class LogReaderUtil
- java.lang.Object
-
- org.webswing.server.util.LogReaderUtil
-
public class LogReaderUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description LogReaderUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetSessionLogDir(org.webswing.server.common.util.VariableSubstitutor subs, org.webswing.server.common.model.SwingConfig config)static InputStreamgetZippedLog(String type)static InputStreamgetZippedSessionLog(String logDir, String appUrl)static StringnormalizeForFileName(String text)static org.webswing.server.common.model.rest.LogResponsereadLog(String type, org.webswing.server.common.model.rest.LogRequest request)static org.webswing.server.common.model.rest.LogResponsereadSessionLog(String appUrl, String logDir, org.webswing.server.common.model.rest.SessionLogRequest request)static List<String>readSessionLogInstanceIds(String logDir, String appUrl)
-
-
-
Method Detail
-
readLog
public static org.webswing.server.common.model.rest.LogResponse readLog(String type, org.webswing.server.common.model.rest.LogRequest request) throws org.webswing.server.model.exception.WsException
- Throws:
org.webswing.server.model.exception.WsException
-
readSessionLog
public static org.webswing.server.common.model.rest.LogResponse readSessionLog(String appUrl, String logDir, org.webswing.server.common.model.rest.SessionLogRequest request) throws org.webswing.server.model.exception.WsException
- Throws:
org.webswing.server.model.exception.WsException
-
readSessionLogInstanceIds
public static List<String> readSessionLogInstanceIds(String logDir, String appUrl) throws org.webswing.server.model.exception.WsException
- Throws:
org.webswing.server.model.exception.WsException
-
getSessionLogDir
public static String getSessionLogDir(org.webswing.server.common.util.VariableSubstitutor subs, org.webswing.server.common.model.SwingConfig config)
-
getZippedLog
public static InputStream getZippedLog(String type) throws org.webswing.server.model.exception.WsException
- Throws:
org.webswing.server.model.exception.WsException
-
getZippedSessionLog
public static InputStream getZippedSessionLog(String logDir, String appUrl) throws org.webswing.server.model.exception.WsException
- Throws:
org.webswing.server.model.exception.WsException
-
-