ENDPOINTTYPE - The type used in endpointsTRANSFERTYPE - the type used in communication with the clientpublic static interface EndpointTransferMapper.Mapper<ENDPOINTTYPE,TRANSFERTYPE>
| Modifier and Type | Method and Description |
|---|---|
Class<? extends ENDPOINTTYPE> |
getEndpointType()
Returns the type used in the endpoint.
|
Class<? extends TRANSFERTYPE> |
getTransferType()
Returns the type used when transfering data to/from the client.
|
ENDPOINTTYPE |
toEndpointType(TRANSFERTYPE transferType)
Converts the given transfer value to the endpoint type.
|
TRANSFERTYPE |
toTransferType(ENDPOINTTYPE endpointType)
Converts the given endpoint value to the transfer type.
|
Class<? extends ENDPOINTTYPE> getEndpointType()
Class<? extends TRANSFERTYPE> getTransferType()
TRANSFERTYPE toTransferType(ENDPOINTTYPE endpointType)
endpointType - the value used in the endpointENDPOINTTYPE toEndpointType(TRANSFERTYPE transferType)
transferType - the value used in communication with the clientCopyright © 2000–2022 Vaadin Ltd. All rights reserved.