Class BasicHttpResult
- java.lang.Object
-
- org.eclipse.cbi.maven.http.apache.BasicHttpResult
-
- All Implemented Interfaces:
HttpResult
final class BasicHttpResult extends java.lang.Object implements HttpResult
-
-
Constructor Summary
Constructors Constructor Description BasicHttpResult(int status, java.lang.String reason, org.apache.http.HttpEntity entity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.charset.CharsetcontentCharset()longcontentLength()longcopyContent(java.io.OutputStream target)longcopyContent(java.nio.file.Path target, java.nio.file.CopyOption... options)java.lang.Stringreason()intstatusCode()
-
-
-
Method Detail
-
statusCode
public int statusCode()
- Specified by:
statusCodein interfaceHttpResult
-
reason
public java.lang.String reason()
- Specified by:
reasonin interfaceHttpResult
-
contentLength
public long contentLength()
- Specified by:
contentLengthin interfaceHttpResult
-
copyContent
public long copyContent(java.nio.file.Path target, java.nio.file.CopyOption... options) throws java.io.IOException- Specified by:
copyContentin interfaceHttpResult- Throws:
java.io.IOException
-
copyContent
public long copyContent(java.io.OutputStream target) throws java.io.IOException- Specified by:
copyContentin interfaceHttpResult- Throws:
java.io.IOException
-
contentCharset
public java.nio.charset.Charset contentCharset()
- Specified by:
contentCharsetin interfaceHttpResult
-
-