Package org.apache.juneau.rest.server
Record Class RestContext.ContextKind.Root
java.lang.Object
java.lang.Record
org.apache.juneau.rest.server.RestContext.ContextKind.Root
- All Implemented Interfaces:
RestContext.ContextKind
- Enclosing interface:
- RestContext.ContextKind
public static record RestContext.ContextKind.Root()
extends Record
implements RestContext.ContextKind
A top-level (host) resource, mock context, or servlet-mounted resource.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.juneau.rest.server.RestContext.ContextKind
RestContext.ContextKind.Child, RestContext.ContextKind.Mixin, RestContext.ContextKind.Root -
Field Summary
Fields inherited from interface org.apache.juneau.rest.server.RestContext.ContextKind
ROOT -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Root
public Root()Creates an instance of aRootrecord class.
-
-
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
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.
-