Package org.hl7.fhir.utilities
Class SimpleHTTPClient.HTTPResult
- java.lang.Object
-
- org.hl7.fhir.utilities.SimpleHTTPClient.HTTPResult
-
- Enclosing class:
- SimpleHTTPClient
public class SimpleHTTPClient.HTTPResult extends Object
-
-
Constructor Summary
Constructors Constructor Description HTTPResult(String source, int code, String message, String contentType, byte[] content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckThrowException()intgetCode()byte[]getContent()StringgetContentType()StringgetMessage()StringgetSource()
-
-
-
Constructor Detail
-
HTTPResult
public HTTPResult(String source, int code, String message, String contentType, byte[] content)
-
-
Method Detail
-
getCode
public int getCode()
-
getContentType
public String getContentType()
-
getContent
public byte[] getContent()
-
checkThrowException
public void checkThrowException() throws IOException
- Throws:
IOException
-
getMessage
public String getMessage()
-
-