Class List Method List File List

# Class: VertxWebApiContract::ValidationHandlerImpl

Inherits:
  Object
  - Object
  - VertxWebApiContract::ValidationHandlerImpl
  show all
Includes:
  ValidationHandler
Defined in:
  /Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-web-api-contract/validation_handler.rb

## Constant Summary

@@j_api_type =

      Object.new

## Class Method Summary (collapse)

- + (Boolean) accept?(obj)
- + (Object) j_api_type
- + (Object) j_class
- + (Object) unwrap(obj)
- + (Object) wrap(obj)

### Methods included from ValidationHandler

#handle

## Class Method Details

### + (`Boolean`) accept?(obj)

Returns:

- (`Boolean`)

    28
    29
    30
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-web-api-contract/validation_handler.rb', line 28

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

### + (`Object`) j_api_type

    37
    38
    39
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-web-api-contract/validation_handler.rb', line 37

    def self.j_api_type
      @@j_api_type
    end

### + (`Object`) j_class

    40
    41
    42
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-web-api-contract/validation_handler.rb', line 40

    def self.j_class
      Java::IoVertxExtWebApiValidation::ValidationHandler.java_class
    end

### + (`Object`) unwrap(obj)

    34
    35
    36
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-web-api-contract/validation_handler.rb', line 34

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

### + (`Object`) wrap(obj)

    31
    32
    33
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-web-api-contract/validation_handler.rb', line 31

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