Class: VertxWeb::AuthHandlerImpl

Inherits:
Object
  • Object
show all
Includes:
AuthHandler
Defined in:
/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-web/auth_handler.rb

Constant Summary

@@j_api_type =
Object.new

Class Method Summary (collapse)

Methods included from AuthHandler

#add_authorities, #add_authority, #authorize, #handle, #parse_credentials

Class Method Details

+ (Boolean) accept?(obj)

Returns:

  • (Boolean)


72
73
74
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-web/auth_handler.rb', line 72

def @@j_api_type.accept?(obj)
  obj.class == AuthHandler
end

+ (Object) j_api_type



81
82
83
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-web/auth_handler.rb', line 81

def self.j_api_type
  @@j_api_type
end

+ (Object) j_class



84
85
86
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-web/auth_handler.rb', line 84

def self.j_class
  Java::IoVertxExtWebHandler::AuthHandler.java_class
end

+ (Object) unwrap(obj)



78
79
80
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-web/auth_handler.rb', line 78

def @@j_api_type.unwrap(obj)
  obj.j_del
end

+ (Object) wrap(obj)



75
76
77
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-web/auth_handler.rb', line 75

def @@j_api_type.wrap(obj)
  AuthHandler.new(obj)
end