com.liferay.portal.fabric.netty.fileserver
Class FileResponse
java.lang.Object
com.liferay.portal.fabric.netty.fileserver.FileResponse
- All Implemented Interfaces:
- Serializable
public class FileResponse
- extends Object
- implements Serializable
- See Also:
- Serialized Form
FILE_NOT_FOUND
public static final long FILE_NOT_FOUND
- See Also:
- Constant Field Values
FILE_NOT_MODIFIED
public static final long FILE_NOT_MODIFIED
- See Also:
- Constant Field Values
FileResponse
public FileResponse(java.nio.file.Path path,
long size,
long lastModifiedTime,
boolean folder)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getLastModifiedTime
public long getLastModifiedTime()
getLocalFile
public java.nio.file.Path getLocalFile()
getPath
public java.nio.file.Path getPath()
getSize
public long getSize()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
isFileNotFound
public boolean isFileNotFound()
isFileNotModified
public boolean isFileNotModified()
isFolder
public boolean isFolder()
setLocalFile
public void setLocalFile(java.nio.file.Path localFile)
toString
public String toString()
- Overrides:
toString in class Object