Record Class ResolvedRequest
java.lang.Object
java.lang.Record
dev.getelements.elements.service.auth.oauth2.ResolvedRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebodyParamsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexternalUserIdFromRequestrecord component.final inthashCode()Returns a hash code value for this object.headers()Returns the value of theheadersrecord component.Returns the value of thequeryParamsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResolvedRequest
public ResolvedRequest(Map<String, String> headers, Map<String, String> queryParams, Map<String, String> bodyParams, String externalUserIdFromRequest) Creates an instance of aResolvedRequestrecord class.- Parameters:
headers- the value for theheadersrecord componentqueryParams- the value for thequeryParamsrecord componentbodyParams- the value for thebodyParamsrecord componentexternalUserIdFromRequest- the value for theexternalUserIdFromRequestrecord 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). -
headers
Returns the value of theheadersrecord component.- Returns:
- the value of the
headersrecord component
-
queryParams
Returns the value of thequeryParamsrecord component.- Returns:
- the value of the
queryParamsrecord component
-
bodyParams
Returns the value of thebodyParamsrecord component.- Returns:
- the value of the
bodyParamsrecord component
-
externalUserIdFromRequest
Returns the value of theexternalUserIdFromRequestrecord component.- Returns:
- the value of the
externalUserIdFromRequestrecord component
-