Package be.wegenenverkeer.rxhttpclient
Class ServerResponseBodyPartImpl
- java.lang.Object
-
- be.wegenenverkeer.rxhttpclient.ServerResponseBodyPartImpl
-
- All Implemented Interfaces:
ServerResponseBodyPart,ServerResponseElement
public class ServerResponseBodyPartImpl extends java.lang.Object implements ServerResponseBodyPart
Created by Karel Maesen, Geovise BVBA on 2019-07-05.
-
-
Constructor Summary
Constructors Constructor Description ServerResponseBodyPartImpl(byte[] bytes, boolean isLast)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getBodyPartBytes()Returns the bytes of the response body.booleanisLast()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface be.wegenenverkeer.rxhttpclient.ServerResponseBodyPart
isEmpty, match
-
-
-
-
Method Detail
-
getBodyPartBytes
public byte[] getBodyPartBytes()
Description copied from interface:ServerResponseBodyPartReturns the bytes of the response body.- Specified by:
getBodyPartBytesin interfaceServerResponseBodyPart- Returns:
- the bytes of the response body.
-
isLast
public boolean isLast()
- Specified by:
isLastin interfaceServerResponseBodyPart
-
-