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 aFileUploadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.ortus.boxlang.runtime.scopes.KeyReturns the value of theformFieldNamerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theoriginalFileNamerecord component.tmpPath()Returns the value of thetmpPathrecord component.final StringtoString()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 aFileUploadrecord class.- Parameters:
formFieldName- the value for theformFieldNamerecord componenttmpPath- the value for thetmpPathrecord componentoriginalFileName- the value for theoriginalFileNamerecord 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 theformFieldNamerecord component.- Returns:
- the value of the
formFieldNamerecord component
-
tmpPath
Returns the value of thetmpPathrecord component.- Returns:
- the value of the
tmpPathrecord component
-
originalFileName
Returns the value of theoriginalFileNamerecord component.- Returns:
- the value of the
originalFileNamerecord component
-