public class RoleBasedAuthorization extends Authorization
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<RoleBasedAuthorization> |
__TYPE_ARG |
| Constructor and Description |
|---|
RoleBasedAuthorization(Object delegate) |
RoleBasedAuthorization(RoleBasedAuthorization delegate) |
| Modifier and Type | Method and Description |
|---|---|
static RoleBasedAuthorization |
create(String role) |
boolean |
equals(Object o) |
RoleBasedAuthorization |
getDelegate() |
String |
getResource()
returns an optional resource that the role is assigned-on
|
String |
getRole()
returns the role
|
int |
hashCode() |
static RoleBasedAuthorization |
newInstance(RoleBasedAuthorization arg) |
RoleBasedAuthorization |
setResource(String resource)
sets an optional resource that the role is assigned-on
|
String |
toString() |
match, match, newInstance, verifypublic static final io.vertx.lang.rx.TypeArg<RoleBasedAuthorization> __TYPE_ARG
public RoleBasedAuthorization(RoleBasedAuthorization delegate)
public RoleBasedAuthorization(Object delegate)
public String toString()
toString in class Authorizationpublic boolean equals(Object o)
equals in class Authorizationpublic int hashCode()
hashCode in class Authorizationpublic RoleBasedAuthorization getDelegate()
getDelegate in class Authorizationpublic static RoleBasedAuthorization create(String role)
public String getRole()
public String getResource()
public RoleBasedAuthorization setResource(String resource)
resource - public static RoleBasedAuthorization newInstance(RoleBasedAuthorization arg)
Copyright © 2021 Eclipse. All rights reserved.