Package ortus.boxlang.web.exchange
Record Class IBoxHTTPExchange.FileUpload
java.lang.Object
java.lang.Record
ortus.boxlang.web.exchange.IBoxHTTPExchange.FileUpload
- Enclosing interface:
IBoxHTTPExchange
-
Constructor Summary
ConstructorsConstructorDescriptionFileUpload
(ortus.boxlang.runtime.scopes.Key formFieldName, Path tmpPath, String originalFileName) Creates an instance of aFileUpload
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.ortus.boxlang.runtime.scopes.Key
Returns the value of theformFieldName
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theoriginalFileName
record component.tmpPath()
Returns the value of thetmpPath
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
FileUpload
public FileUpload(ortus.boxlang.runtime.scopes.Key formFieldName, Path tmpPath, String originalFileName) Creates an instance of aFileUpload
record class.- Parameters:
formFieldName
- the value for theformFieldName
record componenttmpPath
- the value for thetmpPath
record componentoriginalFileName
- the value for theoriginalFileName
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
formFieldName
public ortus.boxlang.runtime.scopes.Key formFieldName()Returns the value of theformFieldName
record component.- Returns:
- the value of the
formFieldName
record component
-
tmpPath
Returns the value of thetmpPath
record component.- Returns:
- the value of the
tmpPath
record component
-
originalFileName
Returns the value of theoriginalFileName
record component.- Returns:
- the value of the
originalFileName
record component
-