Record Class InvocationImpl
java.lang.Object
java.lang.Record
org.infinispan.rest.framework.impl.InvocationImpl
- All Implemented Interfaces:
Invocation
public record InvocationImpl(ResourceDescription resourceGroup, Set<Method> methods, Set<String> paths, Function<RestRequest, CompletionStage<RestResponse>> handler, String action, String operationId, String name, boolean anonymous, AuthorizationPermission permission, boolean deprecated, boolean requireCacheManagerStart, AuditContext auditContext, RequestBody requestBody, Map<io.netty.handler.codec.http.HttpResponseStatus, ResponseContent> responses, List<Parameter> parameters)
extends Record
implements Invocation
- Since:
- 10.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInvocationImpl(ResourceDescription resourceGroup, Set<Method> methods, Set<String> paths, Function<RestRequest, CompletionStage<RestResponse>> handler, String action, String operationId, String name, boolean anonymous, AuthorizationPermission permission, boolean deprecated, boolean requireCacheManagerStart, AuditContext auditContext, RequestBody requestBody, Map<io.netty.handler.codec.http.HttpResponseStatus, ResponseContent> responses, List<Parameter> parameters) Creates an instance of aInvocationImplrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaction()Deprecated.booleanReturns the value of theanonymousrecord component.Returns the value of theauditContextrecord component.booleanReturns the value of thedeprecatedrecord component.final booleanIndicates whether some other object is "equal to" this one.handler()Returns the value of thehandlerrecord component.final inthashCode()Returns a hash code value for this object.methods()Returns the value of themethodsrecord component.name()Returns the value of thenamerecord component.Returns the value of theoperationIdrecord component.Returns the value of theparametersrecord component.paths()Returns the value of thepathsrecord component.Returns the value of thepermissionrecord component.Returns the value of therequestBodyrecord component.booleanReturns the value of therequireCacheManagerStartrecord component.Returns the value of theresourceGrouprecord component.Map<io.netty.handler.codec.http.HttpResponseStatus, ResponseContent> Returns the value of theresponsesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InvocationImpl
public InvocationImpl(ResourceDescription resourceGroup, Set<Method> methods, Set<String> paths, Function<RestRequest, CompletionStage<RestResponse>> handler, @Deprecated String action, String operationId, String name, boolean anonymous, AuthorizationPermission permission, boolean deprecated, boolean requireCacheManagerStart, AuditContext auditContext, RequestBody requestBody, Map<io.netty.handler.codec.http.HttpResponseStatus, ResponseContent> responses, List<Parameter> parameters) Creates an instance of aInvocationImplrecord class.- Parameters:
resourceGroup- the value for theresourceGrouprecord componentmethods- the value for themethodsrecord componentpaths- the value for thepathsrecord componenthandler- the value for thehandlerrecord componentaction- the value for theactionrecord componentoperationId- the value for theoperationIdrecord componentname- the value for thenamerecord componentanonymous- the value for theanonymousrecord componentpermission- the value for thepermissionrecord componentdeprecated- the value for thedeprecatedrecord componentrequireCacheManagerStart- the value for therequireCacheManagerStartrecord componentauditContext- the value for theauditContextrecord componentrequestBody- the value for therequestBodyrecord componentresponses- the value for theresponsesrecord componentparameters- the value for theparametersrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
resourceGroup
Returns the value of theresourceGrouprecord component.- Specified by:
resourceGroupin interfaceInvocation- Returns:
- the value of the
resourceGrouprecord component
-
methods
Returns the value of themethodsrecord component.- Specified by:
methodsin interfaceInvocation- Returns:
- the value of the
methodsrecord component
-
paths
Returns the value of thepathsrecord component.- Specified by:
pathsin interfaceInvocation- Returns:
- the value of the
pathsrecord component
-
handler
Returns the value of thehandlerrecord component.- Specified by:
handlerin interfaceInvocation- Returns:
- the value of the
handlerrecord component
-
action
Deprecated.Returns the value of theactionrecord component.- Specified by:
actionin interfaceInvocation- Returns:
- the value of the
actionrecord component
-
operationId
Returns the value of theoperationIdrecord component.- Specified by:
operationIdin interfaceInvocation- Returns:
- the value of the
operationIdrecord component
-
name
Returns the value of thenamerecord component.- Specified by:
namein interfaceInvocation- Returns:
- the value of the
namerecord component
-
anonymous
public boolean anonymous()Returns the value of theanonymousrecord component.- Specified by:
anonymousin interfaceInvocation- Returns:
- the value of the
anonymousrecord component
-
permission
Returns the value of thepermissionrecord component.- Specified by:
permissionin interfaceInvocation- Returns:
- the value of the
permissionrecord component
-
deprecated
public boolean deprecated()Returns the value of thedeprecatedrecord component.- Specified by:
deprecatedin interfaceInvocation- Returns:
- the value of the
deprecatedrecord component
-
requireCacheManagerStart
public boolean requireCacheManagerStart()Returns the value of therequireCacheManagerStartrecord component.- Specified by:
requireCacheManagerStartin interfaceInvocation- Returns:
- the value of the
requireCacheManagerStartrecord component
-
auditContext
Returns the value of theauditContextrecord component.- Specified by:
auditContextin interfaceInvocation- Returns:
- the value of the
auditContextrecord component
-
requestBody
Returns the value of therequestBodyrecord component.- Specified by:
requestBodyin interfaceInvocation- Returns:
- the value of the
requestBodyrecord component
-
responses
Returns the value of theresponsesrecord component.- Specified by:
responsesin interfaceInvocation- Returns:
- the value of the
responsesrecord component
-
parameters
Returns the value of theparametersrecord component.- Specified by:
parametersin interfaceInvocation- Returns:
- the value of the
parametersrecord component
-