Package org.xipki.util
Class Curl.CurlResult
- java.lang.Object
-
- org.xipki.util.Curl.CurlResult
-
- Enclosing interface:
- Curl
public static class Curl.CurlResult extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CurlResult(int statusCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getContent()intgetContentLength()java.lang.StringgetContentType()byte[]getErrorContent()intgetStatusCode()voidsetContent(byte[] content)voidsetContentLength(int contentLength)voidsetContentType(java.lang.String contentType)voidsetErrorContent(byte[] errorContent)
-
-
-
Method Detail
-
getStatusCode
public int getStatusCode()
-
getContentType
public java.lang.String getContentType()
-
setContentType
public void setContentType(java.lang.String contentType)
-
getContentLength
public int getContentLength()
-
setContentLength
public void setContentLength(int contentLength)
-
getContent
public byte[] getContent()
-
setContent
public void setContent(byte[] content)
-
getErrorContent
public byte[] getErrorContent()
-
setErrorContent
public void setErrorContent(byte[] errorContent)
-
-