U - the actual return type of the callpublic class ESServerCallImpl<U> extends Object implements ESServerCall, InternalAPIDelegator<ESServerCall,ServerCall<U>>
Mapping between ESServerCall and ServerCall.
Note that this class does not inherit from AbstractAPIImpl since
ServerCall is not a modeled class.
| Constructor and Description |
|---|
ESServerCallImpl(ServerCall<U> serverCall)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ESLocalProject |
getLocalProject()
Returns the
ESLocalProject this server call is associated with. |
ESServer |
getServer()
Returns the
ESServer this server call is meant to be executed against. |
ESUsersession |
getUsersession()
Returns the user session used by the server call.
|
ServerCall<U> |
toInternalAPI()
Returns the internal interface of this class.
|
public ESServerCallImpl(ServerCall<U> serverCall)
serverCall - the server call to be wrappedpublic ESUsersession getUsersession()
getUsersession in interface ESServerCallESServerCall.getUsersession()public ESLocalProject getLocalProject()
ESLocalProject this server call is associated with.getLocalProject in interface ESServerCallESServerCall.getLocalProject()public ESServer getServer()
ESServer this server call is meant to be executed against.getServer in interface ESServerCallESServerCall.getServer()public ServerCall<U> toInternalAPI()
toInternalAPI in interface InternalAPIDelegator<ESServerCall,ServerCall<U>>InternalAPIDelegator.toInternalAPI()Copyright © 2017. All rights reserved.