예제 #1
0
 @DocAnnotation$annotation$(
     description =
         " Return the URI corresponding to the last request for this socket or the websocket handshake\n")
 @TypeInfo("ceylon.language::String")
 public ceylon.language.String uri() {
   ceylon.language.String ret = io.vertx.lang.ceylon.ToCeylon.String.safeConvert(delegate.uri());
   return ret;
 }
예제 #2
0
 @DocAnnotation$annotation$(
     description =
         " When a <code>SockJSSocket</code> is created it automatically registers an event handler with the event bus, the ID of that\n handler is given by <code>writeHandlerID</code>.\n <p>\n Given this ID, a different event loop can send a buffer to that event handler using the event bus and\n that buffer will be received by this instance in its own event loop and written to the underlying socket. This\n allows you to write data to other sockets which are owned by different event loops.\n")
 @TypeInfo("ceylon.language::String")
 public ceylon.language.String writeHandlerID() {
   ceylon.language.String ret =
       io.vertx.lang.ceylon.ToCeylon.String.safeConvert(delegate.writeHandlerID());
   return ret;
 }
 @TypeInfo("ceylon.language::String")
 public ceylon.language.String sessionState(
     final @TypeInfo("ceylon.json::Object") @Name("principal") ceylon.json.Object principal) {
   io.vertx.core.json.JsonObject arg_0 =
       io.vertx.lang.ceylon.ToJava.JsonObject.safeConvert(principal);
   ceylon.language.String ret =
       io.vertx.lang.ceylon.ToCeylon.String.safeConvert(
           io.vertx.ext.auth.oauth2.KeycloakHelper.sessionState(arg_0));
   return ret;
 }
 @DocAnnotation$annotation$(description = " Get raw `access_token` string from the principal.\n")
 @TypeInfo("ceylon.language::String")
 public ceylon.language.String rawAccessToken(
     final @TypeInfo("ceylon.json::Object") @Name("principal") @DocAnnotation$annotation$(
             description = "user principal\n") ceylon.json.Object principal) {
   io.vertx.core.json.JsonObject arg_0 =
       io.vertx.lang.ceylon.ToJava.JsonObject.safeConvert(principal);
   ceylon.language.String ret =
       io.vertx.lang.ceylon.ToCeylon.String.safeConvert(
           io.vertx.ext.auth.oauth2.KeycloakHelper.rawAccessToken(arg_0));
   return ret;
 }