Package org.jboss.resteasy.reactive
Class FilePart
java.lang.Object
org.jboss.resteasy.reactive.FilePart
Wrapper type representing a partial
File object to be sent.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
file
The file to send -
offset
public final long offsetThe starting byte of the file -
count
public final long countThe number of bytes to send
-
-
Constructor Details
-
FilePart
Create a new partialFileobject.- Parameters:
file- The file to sendoffset- The starting byte of the file (must be >= 0)count- The number of bytes to send (must be >= 0 and offset+count <= file size)
-