Package io.quarkus.oidc.common
Record Class OidcRequestFilter.OidcRequestContext
java.lang.Object
java.lang.Record
io.quarkus.oidc.common.OidcRequestFilter.OidcRequestContext
- Enclosing interface:
OidcRequestFilter
public static record OidcRequestFilter.OidcRequestContext(io.vertx.mutiny.ext.web.client.HttpRequest<io.vertx.mutiny.core.buffer.Buffer> request, io.vertx.mutiny.core.buffer.Buffer requestBody, OidcRequestContextProperties contextProperties)
extends Record
OIDC request context which provides access to the HTTP request headers and body, as well as context properties.
-
Constructor Summary
ConstructorsConstructorDescriptionOidcRequestContext(io.vertx.mutiny.ext.web.client.HttpRequest<io.vertx.mutiny.core.buffer.Buffer> request, io.vertx.mutiny.core.buffer.Buffer requestBody, OidcRequestContextProperties contextProperties) Creates an instance of aOidcRequestContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontextPropertiesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.io.vertx.mutiny.ext.web.client.HttpRequest<io.vertx.mutiny.core.buffer.Buffer> request()Returns the value of therequestrecord component.io.vertx.mutiny.core.buffer.BufferReturns the value of therequestBodyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OidcRequestContext
public OidcRequestContext(io.vertx.mutiny.ext.web.client.HttpRequest<io.vertx.mutiny.core.buffer.Buffer> request, io.vertx.mutiny.core.buffer.Buffer requestBody, OidcRequestContextProperties contextProperties) Creates an instance of aOidcRequestContextrecord class.- Parameters:
request- the value for therequestrecord componentrequestBody- the value for therequestBodyrecord componentcontextProperties- the value for thecontextPropertiesrecord 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). -
request
public io.vertx.mutiny.ext.web.client.HttpRequest<io.vertx.mutiny.core.buffer.Buffer> request()Returns the value of therequestrecord component.- Returns:
- the value of the
requestrecord component
-
requestBody
public io.vertx.mutiny.core.buffer.Buffer requestBody()Returns the value of therequestBodyrecord component.- Returns:
- the value of the
requestBodyrecord component
-
contextProperties
Returns the value of thecontextPropertiesrecord component.- Returns:
- the value of the
contextPropertiesrecord component
-