Class ArtifactProcessorUtils
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.artifacts.ArtifactProcessorUtils
-
public class ArtifactProcessorUtils extends Object
Created by Evgeniy Koshkin (evgeniy.koshkin@jetbrains.com) on 26.07.17.
-
-
Constructor Summary
Constructors Constructor Description ArtifactProcessorUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.commons.httpclient.HttpClient
prepareHttpClient(String uploadUrl, AgentRunningBuild build)
static String
readResponse(org.apache.commons.httpclient.HttpMethod method)
static void
setNodeIdCookie(ArtifactUploadUrlProvider uploadUrlProvider, org.apache.commons.httpclient.HttpClient client, AgentRunningBuild build)
static void
updateOwnerNodeId(org.apache.commons.httpclient.HttpMethod method, org.apache.commons.httpclient.HttpClient client, AgentRunningBuild build)
-
-
-
Method Detail
-
readResponse
@NotNull public static String readResponse(@NotNull org.apache.commons.httpclient.HttpMethod method) throws IOException
- Throws:
IOException
-
prepareHttpClient
@NotNull public static org.apache.commons.httpclient.HttpClient prepareHttpClient(@NotNull String uploadUrl, @NotNull AgentRunningBuild build)
-
setNodeIdCookie
public static void setNodeIdCookie(@NotNull ArtifactUploadUrlProvider uploadUrlProvider, @NotNull org.apache.commons.httpclient.HttpClient client, @NotNull AgentRunningBuild build)
-
updateOwnerNodeId
public static void updateOwnerNodeId(@NotNull org.apache.commons.httpclient.HttpMethod method, @NotNull org.apache.commons.httpclient.HttpClient client, @NotNull AgentRunningBuild build)
-
-