Package one.xingyi.core
Class ResourceDefinitionEndPoint
- java.lang.Object
-
- one.xingyi.core.ResourceDefinitionEndPoint
-
- All Implemented Interfaces:
java.util.function.Function<one.xingyi.core.http.ServiceRequest,java.util.concurrent.CompletableFuture<java.util.Optional<one.xingyi.core.http.ServiceResponse>>>,one.xingyi.core.endpoints.EndPoint,one.xingyi.core.endpoints.MethodAndPathDescription
public class ResourceDefinitionEndPoint extends java.lang.Object implements one.xingyi.core.endpoints.EndPoint
-
-
Constructor Summary
Constructors Constructor Description ResourceDefinitionEndPoint(one.xingyi.core.endpoints.EndpointContext<?> context, java.util.List<one.xingyi.core.endpoints.HasBookmarkAndUrl> companions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.util.Optional<one.xingyi.core.http.ServiceResponse>>apply(one.xingyi.core.http.ServiceRequest serviceRequest)java.util.List<one.xingyi.core.endpoints.MethodPathAndDescription>description()
-
-
-
Method Detail
-
description
public java.util.List<one.xingyi.core.endpoints.MethodPathAndDescription> description()
- Specified by:
descriptionin interfaceone.xingyi.core.endpoints.EndPoint- Specified by:
descriptionin interfaceone.xingyi.core.endpoints.MethodAndPathDescription
-
apply
public java.util.concurrent.CompletableFuture<java.util.Optional<one.xingyi.core.http.ServiceResponse>> apply(one.xingyi.core.http.ServiceRequest serviceRequest)
- Specified by:
applyin interfacejava.util.function.Function<one.xingyi.core.http.ServiceRequest,java.util.concurrent.CompletableFuture<java.util.Optional<one.xingyi.core.http.ServiceResponse>>>
-
-