Package org.jboss.resteasy.reactive
Class PathPart
java.lang.Object
org.jboss.resteasy.reactive.PathPart
Wrapper type representing the
Path to 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
-
PathPart
Create a new partialPathobject.- 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)
-