public class CurlResponse extends Object implements Closeable
| コンストラクタと説明 |
|---|
CurlResponse() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
close() |
Map<String,Object> |
getContentAsMap() |
InputStream |
getContentAsStream() |
String |
getContentAsString() |
Exception |
getContentException() |
String |
getEncoding() |
int |
getHttpStatusCode() |
void |
setContentException(Exception e) |
void |
setContentFile(java.nio.file.Path tempFile) |
void |
setEncoding(String encoding) |
void |
setHttpStatusCode(int httpStatusCode) |
public void close()
throws IOException
close インタフェース内 Closeableclose インタフェース内 AutoCloseableIOExceptionpublic String getContentAsString()
public InputStream getContentAsStream() throws IOException
IOExceptionpublic void setContentFile(java.nio.file.Path tempFile)
public int getHttpStatusCode()
public void setHttpStatusCode(int httpStatusCode)
public String getEncoding()
public void setEncoding(String encoding)
public void setContentException(Exception e)
public Exception getContentException()
Copyright © 2011-2016. All Rights Reserved.