本文整理汇总了Java中io.vertx.ceylon.core.Vertx类的典型用法代码示例。如果您正苦于以下问题:Java Vertx类的具体用法?Java Vertx怎么用?Java Vertx使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Vertx类属于io.vertx.ceylon.core包,在下文中一共展示了Vertx类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: create
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@DocAnnotation$annotation$(description = " Create a OAuth2Auth provider for Microsoft Azure Active Directory\n")
@TypeInfo("io.vertx.ceylon.auth.oauth2::OAuth2Auth")
public OAuth2Auth create(
final @TypeInfo("io.vertx.ceylon.core::Vertx") @Name("vertx") Vertx vertx,
final @TypeInfo("ceylon.language::String") @Name("clientId")@DocAnnotation$annotation$(description = "the client id given to you by Azure\n") ceylon.language.String clientId,
final @TypeInfo("ceylon.language::String") @Name("clientSecret")@DocAnnotation$annotation$(description = "the client secret given to you by Azure\n") ceylon.language.String clientSecret,
final @TypeInfo("ceylon.language::String") @Name("guid")@DocAnnotation$annotation$(description = "the guid of your application given to you by Azure\n") ceylon.language.String guid,
final @TypeInfo("io.vertx.ceylon.core.http::HttpClientOptions") @Name("httpClientOptions")@DocAnnotation$annotation$(description = "custom http client options\n") io.vertx.ceylon.core.http.HttpClientOptions httpClientOptions) {
io.vertx.core.Vertx arg_0 = io.vertx.ceylon.core.Vertx.TO_JAVA.safeConvert(vertx);
java.lang.String arg_1 = io.vertx.lang.ceylon.ToJava.String.safeConvert(clientId);
java.lang.String arg_2 = io.vertx.lang.ceylon.ToJava.String.safeConvert(clientSecret);
java.lang.String arg_3 = io.vertx.lang.ceylon.ToJava.String.safeConvert(guid);
io.vertx.core.http.HttpClientOptions arg_4 = httpClientOptions == null ? null : new io.vertx.core.http.HttpClientOptions(io.vertx.lang.ceylon.ToJava.JsonObject.convert(httpClientOptions.toJson()));
OAuth2Auth ret = io.vertx.ceylon.auth.oauth2.OAuth2Auth.TO_CEYLON.converter().safeConvert(io.vertx.ext.auth.oauth2.providers.AzureADAuth.create(arg_0, arg_1, arg_2, arg_3, arg_4));
return ret;
}
示例2: create
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@DocAnnotation$annotation$(description = " Create a OAuth2Auth provider for Shopify\n")
@TypeInfo("io.vertx.ceylon.auth.oauth2::OAuth2Auth")
public OAuth2Auth create(
final @TypeInfo("io.vertx.ceylon.core::Vertx") @Name("vertx") Vertx vertx,
final @TypeInfo("ceylon.language::String") @Name("clientId")@DocAnnotation$annotation$(description = "the client id given to you by Shopify\n") ceylon.language.String clientId,
final @TypeInfo("ceylon.language::String") @Name("clientSecret")@DocAnnotation$annotation$(description = "the client secret given to you by Shopify\n") ceylon.language.String clientSecret,
final @TypeInfo("ceylon.language::String") @Name("shop")@DocAnnotation$annotation$(description = "your shop name\n") ceylon.language.String shop,
final @TypeInfo("io.vertx.ceylon.core.http::HttpClientOptions") @Name("httpClientOptions")@DocAnnotation$annotation$(description = "custom http client options\n") io.vertx.ceylon.core.http.HttpClientOptions httpClientOptions) {
io.vertx.core.Vertx arg_0 = io.vertx.ceylon.core.Vertx.TO_JAVA.safeConvert(vertx);
java.lang.String arg_1 = io.vertx.lang.ceylon.ToJava.String.safeConvert(clientId);
java.lang.String arg_2 = io.vertx.lang.ceylon.ToJava.String.safeConvert(clientSecret);
java.lang.String arg_3 = io.vertx.lang.ceylon.ToJava.String.safeConvert(shop);
io.vertx.core.http.HttpClientOptions arg_4 = httpClientOptions == null ? null : new io.vertx.core.http.HttpClientOptions(io.vertx.lang.ceylon.ToJava.JsonObject.convert(httpClientOptions.toJson()));
OAuth2Auth ret = io.vertx.ceylon.auth.oauth2.OAuth2Auth.TO_CEYLON.converter().safeConvert(io.vertx.ext.auth.oauth2.providers.ShopifyAuth.create(arg_0, arg_1, arg_2, arg_3, arg_4));
return ret;
}
示例3: create
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@DocAnnotation$annotation$(description = " Create a OAuth2Auth provider for CloudFoundry UAA\n")
@TypeInfo("io.vertx.ceylon.auth.oauth2::OAuth2Auth")
public OAuth2Auth create(
final @TypeInfo("io.vertx.ceylon.core::Vertx") @Name("vertx") Vertx vertx,
final @TypeInfo("ceylon.language::String") @Name("clientId")@DocAnnotation$annotation$(description = "the client id given to you by CloudFoundry UAA\n") ceylon.language.String clientId,
final @TypeInfo("ceylon.language::String") @Name("clientSecret")@DocAnnotation$annotation$(description = "the client secret given to you by CloudFoundry UAA\n") ceylon.language.String clientSecret,
final @TypeInfo("ceylon.language::String") @Name("uuaURL")@DocAnnotation$annotation$(description = "the url to your UUA server instance\n") ceylon.language.String uuaURL,
final @TypeInfo("io.vertx.ceylon.core.http::HttpClientOptions") @Name("httpClientOptions")@DocAnnotation$annotation$(description = "custom http client options\n") io.vertx.ceylon.core.http.HttpClientOptions httpClientOptions) {
io.vertx.core.Vertx arg_0 = io.vertx.ceylon.core.Vertx.TO_JAVA.safeConvert(vertx);
java.lang.String arg_1 = io.vertx.lang.ceylon.ToJava.String.safeConvert(clientId);
java.lang.String arg_2 = io.vertx.lang.ceylon.ToJava.String.safeConvert(clientSecret);
java.lang.String arg_3 = io.vertx.lang.ceylon.ToJava.String.safeConvert(uuaURL);
io.vertx.core.http.HttpClientOptions arg_4 = httpClientOptions == null ? null : new io.vertx.core.http.HttpClientOptions(io.vertx.lang.ceylon.ToJava.JsonObject.convert(httpClientOptions.toJson()));
OAuth2Auth ret = io.vertx.ceylon.auth.oauth2.OAuth2Auth.TO_CEYLON.converter().safeConvert(io.vertx.ext.auth.oauth2.providers.CloudFoundryAuth.create(arg_0, arg_1, arg_2, arg_3, arg_4));
return ret;
}
示例4: createProxy
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@TypeInfo("com.diabolicallabs.process.manager.ceylon.kieprocess.service::TaskService")
public TaskService createProxy(
final @TypeInfo("io.vertx.ceylon.core::Vertx") @Name("vertx") Vertx vertx,
final @TypeInfo("ceylon.language::String") @Name("address") ceylon.language.String address) {
io.vertx.core.Vertx arg_0 = io.vertx.ceylon.core.Vertx.TO_JAVA.safeConvert(vertx);
java.lang.String arg_1 = io.vertx.lang.ceylon.ToJava.String.safeConvert(address);
TaskService ret = com.diabolicallabs.process.manager.ceylon.kieprocess.service.TaskService.TO_CEYLON.converter().safeConvert(com.diabolicallabs.process.manager.service.TaskService.createProxy(arg_0, arg_1));
return ret;
}
示例5: createProxy
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@TypeInfo("com.diabolicallabs.process.manager.ceylon.kieprocess.service::KnowledgeService")
public KnowledgeService createProxy(
final @TypeInfo("io.vertx.ceylon.core::Vertx") @Name("vertx") Vertx vertx,
final @TypeInfo("ceylon.language::String") @Name("address") ceylon.language.String address) {
io.vertx.core.Vertx arg_0 = io.vertx.ceylon.core.Vertx.TO_JAVA.safeConvert(vertx);
java.lang.String arg_1 = io.vertx.lang.ceylon.ToJava.String.safeConvert(address);
KnowledgeService ret = com.diabolicallabs.process.manager.ceylon.kieprocess.service.KnowledgeService.TO_CEYLON.converter().safeConvert(com.diabolicallabs.process.manager.service.KnowledgeService.createProxy(arg_0, arg_1));
return ret;
}
示例6: createProxy
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@TypeInfo("com.diabolicallabs.process.manager.ceylon.kieprocess.service::RuleService")
public RuleService createProxy(
final @TypeInfo("io.vertx.ceylon.core::Vertx") @Name("vertx") Vertx vertx,
final @TypeInfo("ceylon.language::String") @Name("address") ceylon.language.String address) {
io.vertx.core.Vertx arg_0 = io.vertx.ceylon.core.Vertx.TO_JAVA.safeConvert(vertx);
java.lang.String arg_1 = io.vertx.lang.ceylon.ToJava.String.safeConvert(address);
RuleService ret = com.diabolicallabs.process.manager.ceylon.kieprocess.service.RuleService.TO_CEYLON.converter().safeConvert(com.diabolicallabs.process.manager.service.RuleService.createProxy(arg_0, arg_1));
return ret;
}
示例7: createProxy
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@TypeInfo("com.diabolicallabs.process.manager.ceylon.kieprocess.service::ProcessService")
public ProcessService createProxy(
final @TypeInfo("io.vertx.ceylon.core::Vertx") @Name("vertx") Vertx vertx,
final @TypeInfo("ceylon.language::String") @Name("address") ceylon.language.String address) {
io.vertx.core.Vertx arg_0 = io.vertx.ceylon.core.Vertx.TO_JAVA.safeConvert(vertx);
java.lang.String arg_1 = io.vertx.lang.ceylon.ToJava.String.safeConvert(address);
ProcessService ret = com.diabolicallabs.process.manager.ceylon.kieprocess.service.ProcessService.TO_CEYLON.converter().safeConvert(com.diabolicallabs.process.manager.service.ProcessService.createProxy(arg_0, arg_1));
return ret;
}
示例8: createProxy
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@TypeInfo("com.diabolicallabs.process.manager.ceylon.kieprocess.service::ProcessInstanceService")
public ProcessInstanceService createProxy(
final @TypeInfo("io.vertx.ceylon.core::Vertx") @Name("vertx") Vertx vertx,
final @TypeInfo("ceylon.language::String") @Name("address") ceylon.language.String address) {
io.vertx.core.Vertx arg_0 = io.vertx.ceylon.core.Vertx.TO_JAVA.safeConvert(vertx);
java.lang.String arg_1 = io.vertx.lang.ceylon.ToJava.String.safeConvert(address);
ProcessInstanceService ret = com.diabolicallabs.process.manager.ceylon.kieprocess.service.ProcessInstanceService.TO_CEYLON.converter().safeConvert(com.diabolicallabs.process.manager.service.ProcessInstanceService.createProxy(arg_0, arg_1));
return ret;
}
示例9: createProxy
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@TypeInfo("com.diabolicallabs.process.manager.ceylon.kieprocess.service::KnowledgeServiceFactory")
public KnowledgeServiceFactory createProxy(
final @TypeInfo("io.vertx.ceylon.core::Vertx") @Name("vertx") Vertx vertx,
final @TypeInfo("ceylon.language::String") @Name("address") ceylon.language.String address) {
io.vertx.core.Vertx arg_0 = io.vertx.ceylon.core.Vertx.TO_JAVA.safeConvert(vertx);
java.lang.String arg_1 = io.vertx.lang.ceylon.ToJava.String.safeConvert(address);
KnowledgeServiceFactory ret = com.diabolicallabs.process.manager.ceylon.kieprocess.service.KnowledgeServiceFactory.TO_CEYLON.converter().safeConvert(com.diabolicallabs.process.manager.service.KnowledgeServiceFactory.createProxy(arg_0, arg_1));
return ret;
}
示例10: vertx
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@DocAnnotation$annotation$(description = "")
@TypeInfo("io.vertx.ceylon.core::Vertx")
public Vertx vertx() {
if (cached_vertx != null) {
return cached_vertx;
}
Vertx ret = io.vertx.ceylon.core.Vertx.TO_CEYLON.converter().safeConvert(delegate.vertx());
cached_vertx = ret;
return ret;
}
示例11: create
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@DocAnnotation$annotation$(description = " Create a SockJS handler\n")
@TypeInfo("io.vertx.ceylon.web.handler.sockjs::SockJSHandler")
public SockJSHandler create(
final @TypeInfo("io.vertx.ceylon.core::Vertx") @Name("vertx")@DocAnnotation$annotation$(description = "the Vert.x instance\n") Vertx vertx) {
io.vertx.core.Vertx arg_0 = io.vertx.ceylon.core.Vertx.TO_JAVA.safeConvert(vertx);
SockJSHandler ret = io.vertx.ceylon.web.handler.sockjs.SockJSHandler.TO_CEYLON.converter().safeConvert(io.vertx.ext.web.handler.sockjs.SockJSHandler.create(arg_0));
return ret;
}
示例12: installTestApplications
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@DocAnnotation$annotation$(description = " Install SockJS test applications on a router - used when running the SockJS test suite\n")
@TypeInfo("ceylon.language::Anything")
public void installTestApplications(
final @TypeInfo("io.vertx.ceylon.web::Router") @Name("router")@DocAnnotation$annotation$(description = "the router to install on\n") Router router,
final @TypeInfo("io.vertx.ceylon.core::Vertx") @Name("vertx")@DocAnnotation$annotation$(description = "the Vert.x instance\n") Vertx vertx) {
io.vertx.ext.web.Router arg_0 = io.vertx.ceylon.web.Router.TO_JAVA.safeConvert(router);
io.vertx.core.Vertx arg_1 = io.vertx.ceylon.core.Vertx.TO_JAVA.safeConvert(vertx);
io.vertx.ext.web.handler.sockjs.SockJSHandler.installTestApplications(arg_0, arg_1);
}
示例13: create
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@DocAnnotation$annotation$(description = " Create a session store\n")
@TypeInfo("io.vertx.ceylon.web.sstore::ClusteredSessionStore")
public ClusteredSessionStore create(
final @TypeInfo("io.vertx.ceylon.core::Vertx") @Name("vertx")@DocAnnotation$annotation$(description = "the Vert.x instance\n") Vertx vertx,
final @TypeInfo("ceylon.language::String") @Name("sessionMapName")@DocAnnotation$annotation$(description = "the session map name\n") ceylon.language.String sessionMapName) {
io.vertx.core.Vertx arg_0 = io.vertx.ceylon.core.Vertx.TO_JAVA.safeConvert(vertx);
java.lang.String arg_1 = io.vertx.lang.ceylon.ToJava.String.safeConvert(sessionMapName);
ClusteredSessionStore ret = io.vertx.ceylon.web.sstore.ClusteredSessionStore.TO_CEYLON.converter().safeConvert(io.vertx.ext.web.sstore.ClusteredSessionStore.create(arg_0, arg_1));
return ret;
}
示例14: create
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@DocAnnotation$annotation$(description = " Create a session store\n")
@TypeInfo("io.vertx.ceylon.web.sstore::LocalSessionStore")
public LocalSessionStore create(
final @TypeInfo("io.vertx.ceylon.core::Vertx") @Name("vertx")@DocAnnotation$annotation$(description = "the Vert.x instance\n") Vertx vertx) {
io.vertx.core.Vertx arg_0 = io.vertx.ceylon.core.Vertx.TO_JAVA.safeConvert(vertx);
LocalSessionStore ret = io.vertx.ceylon.web.sstore.LocalSessionStore.TO_CEYLON.converter().safeConvert(io.vertx.ext.web.sstore.LocalSessionStore.create(arg_0));
return ret;
}
示例15: router
import io.vertx.ceylon.core.Vertx; //导入依赖的package包/类
@DocAnnotation$annotation$(description = " Create a router\n")
@TypeInfo("io.vertx.ceylon.web::Router")
public Router router(
final @TypeInfo("io.vertx.ceylon.core::Vertx") @Name("vertx")@DocAnnotation$annotation$(description = "the Vert.x instance\n") Vertx vertx) {
io.vertx.core.Vertx arg_0 = io.vertx.ceylon.core.Vertx.TO_JAVA.safeConvert(vertx);
Router ret = io.vertx.ceylon.web.Router.TO_CEYLON.converter().safeConvert(io.vertx.ext.web.Router.router(arg_0));
return ret;
}