public class RestAddress
extends java.lang.Object
implements au.com.mountainpass.hyperstate.core.Address
| Constructor and Description |
|---|
RestAddress(RestTemplateResolver resolver,
java.net.URI href) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletableFuture<au.com.mountainpass.hyperstate.core.entities.CreatedEntity> |
create(java.util.Map<java.lang.String,java.lang.Object> parameters) |
java.util.concurrent.CompletableFuture<au.com.mountainpass.hyperstate.core.entities.DeletedEntity> |
delete(java.util.Map<java.lang.String,java.lang.Object> parameters) |
java.util.concurrent.CompletableFuture<au.com.mountainpass.hyperstate.core.entities.EntityWrapper<?>> |
get() |
<T extends au.com.mountainpass.hyperstate.core.entities.EntityWrapper<?>> |
get(java.lang.Class<T> type) |
java.util.concurrent.CompletableFuture<au.com.mountainpass.hyperstate.core.entities.EntityWrapper<?>> |
get(java.util.Map<java.lang.String,java.lang.Object> parameters) |
<T extends au.com.mountainpass.hyperstate.core.entities.EntityWrapper<?>> |
get(org.springframework.core.ParameterizedTypeReference<T> type) |
java.net.URI |
getHref() |
java.lang.String |
getPath() |
<T> java.util.concurrent.CompletableFuture<T> |
resolve(java.lang.Class<T> type) |
<T> java.util.concurrent.CompletableFuture<T> |
resolve(org.springframework.core.ParameterizedTypeReference<T> type) |
java.util.concurrent.CompletableFuture<au.com.mountainpass.hyperstate.core.entities.UpdatedEntity> |
update(java.util.Map<java.lang.String,java.lang.Object> parameters) |
public RestAddress(RestTemplateResolver resolver, java.net.URI href)
public <T> java.util.concurrent.CompletableFuture<T> resolve(java.lang.Class<T> type)
resolve in interface au.com.mountainpass.hyperstate.core.Addresspublic <T> java.util.concurrent.CompletableFuture<T> resolve(org.springframework.core.ParameterizedTypeReference<T> type)
resolve in interface au.com.mountainpass.hyperstate.core.Addresspublic java.lang.String getPath()
getPath in interface au.com.mountainpass.hyperstate.core.Addresspublic java.util.concurrent.CompletableFuture<au.com.mountainpass.hyperstate.core.entities.EntityWrapper<?>> get(java.util.Map<java.lang.String,java.lang.Object> parameters)
get in interface au.com.mountainpass.hyperstate.core.Addresspublic java.util.concurrent.CompletableFuture<au.com.mountainpass.hyperstate.core.entities.DeletedEntity> delete(java.util.Map<java.lang.String,java.lang.Object> parameters)
delete in interface au.com.mountainpass.hyperstate.core.Addresspublic java.util.concurrent.CompletableFuture<au.com.mountainpass.hyperstate.core.entities.CreatedEntity> create(java.util.Map<java.lang.String,java.lang.Object> parameters)
create in interface au.com.mountainpass.hyperstate.core.Addresspublic java.util.concurrent.CompletableFuture<au.com.mountainpass.hyperstate.core.entities.UpdatedEntity> update(java.util.Map<java.lang.String,java.lang.Object> parameters)
update in interface au.com.mountainpass.hyperstate.core.Addresspublic java.util.concurrent.CompletableFuture<au.com.mountainpass.hyperstate.core.entities.EntityWrapper<?>> get()
get in interface au.com.mountainpass.hyperstate.core.Addresspublic <T extends au.com.mountainpass.hyperstate.core.entities.EntityWrapper<?>> java.util.concurrent.CompletableFuture<T> get(java.lang.Class<T> type)
get in interface au.com.mountainpass.hyperstate.core.Addresspublic <T extends au.com.mountainpass.hyperstate.core.entities.EntityWrapper<?>> java.util.concurrent.CompletableFuture<T> get(org.springframework.core.ParameterizedTypeReference<T> type)
get in interface au.com.mountainpass.hyperstate.core.Addresspublic java.net.URI getHref()
getHref in interface au.com.mountainpass.hyperstate.core.Address