public interface ContextRequestHydrator
extends org.springframework.core.Ordered
ContextRequest
like through an API or other
integration and hydrates all of the data within the ContextRequest
DefaultContextRequestHydrator
Modifier and Type | Method and Description |
---|---|
default int |
getOrder() |
ContextRequest |
hydrate(ContextRequest dehydrated)
Hydrates a
ContextRequest with all of the hierarchical tenant data necessary to drive
a discriminated request. |
ContextRequest hydrate(ContextRequest dehydrated)
ContextRequest
with all of the hierarchical tenant data necessary to drive
a discriminated request. For instance, if ContextRequest.getApplicationId()
()} is
non-empty, this will attempt to initialize ContextRequest.setApplication(Application)
from the data store, overwriting any previously-set value.dehydrated
- a context request that does not have full data initialized on itdefault int getOrder()
getOrder
in interface org.springframework.core.Ordered
Copyright © 2021. All rights reserved.