public class BootstrapUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BootstrapUtils.ProgressMonitor |
Modifier and Type | Field and Description |
---|---|
static int |
BUFFER_SIZE |
Modifier and Type | Method and Description |
---|---|
static void |
addFingerprintHeader(AgentContext agentContext,
org.apache.http.message.AbstractHttpMessage req) |
static long |
calculateAdlerChecksum(File file) |
static long |
calculateCrc32(File file) |
static void |
copyResponseToFile(org.apache.http.HttpResponse response,
Path file) |
static void |
copyStream(InputStream inputStream,
OutputStream outputStream) |
static void |
copyStream(InputStream inputStream,
OutputStream outputStream,
BootstrapUtils.ProgressMonitor progressMonitor) |
static void |
copyStreamToFile(InputStream inputStream,
Path file) |
public static final int BUFFER_SIZE
public static long calculateAdlerChecksum(File file) throws IOException
IOException
public static long calculateCrc32(File file) throws IOException
IOException
public static void copyStream(@NotNull InputStream inputStream, @NotNull OutputStream outputStream) throws IOException
IOException
public static void copyStream(@NotNull InputStream inputStream, @NotNull OutputStream outputStream, @Nullable BootstrapUtils.ProgressMonitor progressMonitor) throws IOException
IOException
public static void copyResponseToFile(org.apache.http.HttpResponse response, Path file) throws IOException
IOException
public static void copyStreamToFile(InputStream inputStream, Path file) throws IOException
IOException
public static void addFingerprintHeader(AgentContext agentContext, org.apache.http.message.AbstractHttpMessage req)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.