Record Class ContextInjectionDescriptor
java.lang.Object
java.lang.Record
ee.jakarta.tck.ws.rs.spec.context.cdi.ContextInjectionDescriptor
-
Constructor Summary
ConstructorsConstructorDescriptionContextInjectionDescriptor(String application, String configuration, String httpHeaders, String providers, String request, String resourceContext, String resourceInfo, String securityContext, String sse, String uriInfo) Creates an instance of aContextInjectionDescriptorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationrecord component.Returns the value of theconfigurationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thehttpHeadersrecord component.static ContextInjectionDescriptorof(jakarta.ws.rs.core.Application application, jakarta.ws.rs.core.Configuration configuration, jakarta.ws.rs.core.HttpHeaders httpHeaders, jakarta.ws.rs.ext.Providers providers, jakarta.ws.rs.core.Request request, jakarta.ws.rs.container.ResourceContext resourceContext, jakarta.ws.rs.container.ResourceInfo resourceInfo, jakarta.ws.rs.core.SecurityContext securityContext, jakarta.ws.rs.sse.Sse sse, jakarta.ws.rs.core.UriInfo uriInfo) Returns the value of theprovidersrecord component.request()Returns the value of therequestrecord component.Returns the value of theresourceContextrecord component.Returns the value of theresourceInforecord component.Returns the value of thesecurityContextrecord component.sse()Returns the value of thesserecord component.final StringtoString()Returns a string representation of this record class.uriInfo()Returns the value of theuriInforecord component.
-
Constructor Details
-
ContextInjectionDescriptor
public ContextInjectionDescriptor(String application, String configuration, String httpHeaders, String providers, String request, String resourceContext, String resourceInfo, String securityContext, String sse, String uriInfo) Creates an instance of aContextInjectionDescriptorrecord class.- Parameters:
application- the value for theapplicationrecord componentconfiguration- the value for theconfigurationrecord componenthttpHeaders- the value for thehttpHeadersrecord componentproviders- the value for theprovidersrecord componentrequest- the value for therequestrecord componentresourceContext- the value for theresourceContextrecord componentresourceInfo- the value for theresourceInforecord componentsecurityContext- the value for thesecurityContextrecord componentsse- the value for thesserecord componenturiInfo- the value for theuriInforecord component
-
-
Method Details
-
of
public static ContextInjectionDescriptor of(jakarta.ws.rs.core.Application application, jakarta.ws.rs.core.Configuration configuration, jakarta.ws.rs.core.HttpHeaders httpHeaders, jakarta.ws.rs.ext.Providers providers, jakarta.ws.rs.core.Request request, jakarta.ws.rs.container.ResourceContext resourceContext, jakarta.ws.rs.container.ResourceInfo resourceInfo, jakarta.ws.rs.core.SecurityContext securityContext, jakarta.ws.rs.sse.Sse sse, jakarta.ws.rs.core.UriInfo uriInfo) -
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). -
application
Returns the value of theapplicationrecord component.- Returns:
- the value of the
applicationrecord component
-
configuration
Returns the value of theconfigurationrecord component.- Returns:
- the value of the
configurationrecord component
-
httpHeaders
Returns the value of thehttpHeadersrecord component.- Returns:
- the value of the
httpHeadersrecord component
-
providers
Returns the value of theprovidersrecord component.- Returns:
- the value of the
providersrecord component
-
request
Returns the value of therequestrecord component.- Returns:
- the value of the
requestrecord component
-
resourceContext
Returns the value of theresourceContextrecord component.- Returns:
- the value of the
resourceContextrecord component
-
resourceInfo
Returns the value of theresourceInforecord component.- Returns:
- the value of the
resourceInforecord component
-
securityContext
Returns the value of thesecurityContextrecord component.- Returns:
- the value of the
securityContextrecord component
-
sse
Returns the value of thesserecord component.- Returns:
- the value of the
sserecord component
-
uriInfo
Returns the value of theuriInforecord component.- Returns:
- the value of the
uriInforecord component
-