Record Class HttpUtil.Result.Success<T>
java.lang.Object
java.lang.Record
kr.toxicity.model.api.util.HttpUtil.Result.Success<T>
- Type Parameters:
T- type- Record Components:
result- result value
- All Implemented Interfaces:
HttpUtil.Result<T>
- Enclosing interface:
HttpUtil.Result<T>
public static record HttpUtil.Result.Success<T>(T result)
extends Record
implements HttpUtil.Result<T>
Success
-
Nested Class Summary
Nested classes/interfaces inherited from interface HttpUtil.Result
HttpUtil.Result.Failure<T>, HttpUtil.Result.Success<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.result()Returns the value of theresultrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface HttpUtil.Result
orElse
-
Constructor Details
-
Success
-
-
Method Details
-
toString
-
hashCode
-
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). -
result
-