Record Class ContextInjectionDescriptor

java.lang.Object
java.lang.Record
ee.jakarta.tck.ws.rs.spec.context.cdi.ContextInjectionDescriptor

public record ContextInjectionDescriptor(String application, String configuration, String httpHeaders, String providers, String request, String resourceContext, String resourceInfo, String securityContext, String sse, String uriInfo) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 a ContextInjectionDescriptor record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the application record component.
    Returns the value of the configuration record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the httpHeaders record component.
    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)
     
    Returns the value of the providers record component.
    Returns the value of the request record component.
    Returns the value of the resourceContext record component.
    Returns the value of the resourceInfo record component.
    Returns the value of the securityContext record component.
    sse()
    Returns the value of the sse record component.
    final String
    Returns a string representation of this record class.
    Returns the value of the uriInfo record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 a ContextInjectionDescriptor record class.
      Parameters:
      application - the value for the application record component
      configuration - the value for the configuration record component
      httpHeaders - the value for the httpHeaders record component
      providers - the value for the providers record component
      request - the value for the request record component
      resourceContext - the value for the resourceContext record component
      resourceInfo - the value for the resourceInfo record component
      securityContext - the value for the securityContext record component
      sse - the value for the sse record component
      uriInfo - the value for the uriInfo record 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

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • application

      public String application()
      Returns the value of the application record component.
      Returns:
      the value of the application record component
    • configuration

      public String configuration()
      Returns the value of the configuration record component.
      Returns:
      the value of the configuration record component
    • httpHeaders

      public String httpHeaders()
      Returns the value of the httpHeaders record component.
      Returns:
      the value of the httpHeaders record component
    • providers

      public String providers()
      Returns the value of the providers record component.
      Returns:
      the value of the providers record component
    • request

      public String request()
      Returns the value of the request record component.
      Returns:
      the value of the request record component
    • resourceContext

      public String resourceContext()
      Returns the value of the resourceContext record component.
      Returns:
      the value of the resourceContext record component
    • resourceInfo

      public String resourceInfo()
      Returns the value of the resourceInfo record component.
      Returns:
      the value of the resourceInfo record component
    • securityContext

      public String securityContext()
      Returns the value of the securityContext record component.
      Returns:
      the value of the securityContext record component
    • sse

      public String sse()
      Returns the value of the sse record component.
      Returns:
      the value of the sse record component
    • uriInfo

      public String uriInfo()
      Returns the value of the uriInfo record component.
      Returns:
      the value of the uriInfo record component