public class PullLogsResponse extends Response
| 构造器和说明 |
|---|
PullLogsResponse(Map<String,String> headers,
byte[] rawData)
Construct the response with http headers
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCount() |
LogGroupData |
getLogGroup(int index)
get one uncompressed log group by index
|
List<LogGroupData> |
getLogGroups()
get all uncompressed log groups
|
List<LogGroupData> |
getLogGroups(int offset)
get uncompressed log groups with offset
|
String |
getNextCursor() |
byte[] |
getRawData() |
int |
getRawSize() |
GetAllHeaders, GetHeader, GetRequestIdpublic PullLogsResponse(Map<String,String> headers, byte[] rawData) throws LogException
headers - http headersrawData - the response byte array dataLogException - if any error occurs in generating compressed log datapublic int getRawSize()
public String getNextCursor()
public int getCount()
public LogGroupData getLogGroup(int index) throws LogException
index - the index of log group arrayLogExceptionpublic List<LogGroupData> getLogGroups(int offset) throws LogException
offset - the offset to get log groups, starts with 0LogExceptionpublic List<LogGroupData> getLogGroups() throws LogException
LogExceptionpublic byte[] getRawData()
Copyright © 2020. All Rights Reserved.