.path(viewId)
.path(ViewResource.class, "getPrimitivesGrid")
.build();
Principal userPrincipal = securityContext.getUserPrincipal();
String userName = userPrincipal != null ? userPrincipal.getName() : null;
ClientConnection connection = _connectionManager.getConnectionByClientId(userName, clientId);
URI uri = uriInfo.getAbsolutePathBuilder().path(viewId).build();
ImmutableMap<String, Object> callbackMap = ImmutableMap.<String, Object>of("id", requestId, "message", uri.getPath());
URI errorUri = uriInfo.getAbsolutePathBuilder()
.path(viewId)
.path(ViewResource.class, "getErrors")