Class BasicAuthHandler
- java.lang.Object
- 
- io.vertx.reactivex.ext.web.handler.BasicAuthHandler
 
- 
- All Implemented Interfaces:
- Handler<RoutingContext>,- io.vertx.lang.rx.RxDelegate,- AuthenticationHandler
 
 public class BasicAuthHandler extends Object implements io.vertx.lang.rx.RxDelegate, AuthenticationHandler, Handler<RoutingContext> An auth handler that provides HTTP Basic Authentication support.NOTE: This class has been automatically generated from the originalnon RX-ified interface using Vert.x codegen.
- 
- 
Field SummaryFields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<BasicAuthHandler>__TYPE_ARGstatic StringDEFAULT_REALMThe default realm to use
 - 
Constructor SummaryConstructors Constructor Description BasicAuthHandler(BasicAuthHandler delegate)BasicAuthHandler(Object delegate)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BasicAuthHandlercreate(AuthenticationProvider authProvider)Create a basic auth handlerstatic BasicAuthHandlercreate(AuthenticationProvider authProvider, String realm)Create a basic auth handler, specifying realmbooleanequals(Object o)BasicAuthHandlergetDelegate()voidhandle(RoutingContext event)Something has happened, so handle it.inthashCode()static BasicAuthHandlernewInstance(BasicAuthHandler arg)StringtoString()
 
- 
- 
- 
Field Detail- 
__TYPE_ARGpublic static final io.vertx.lang.rx.TypeArg<BasicAuthHandler> __TYPE_ARG 
 - 
DEFAULT_REALMpublic static final String DEFAULT_REALM The default realm to use- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
BasicAuthHandlerpublic BasicAuthHandler(BasicAuthHandler delegate) 
 - 
BasicAuthHandlerpublic BasicAuthHandler(Object delegate) 
 
- 
 - 
Method Detail- 
getDelegatepublic BasicAuthHandler getDelegate() - Specified by:
- getDelegatein interface- AuthenticationHandler
- Specified by:
- getDelegatein interface- io.vertx.lang.rx.RxDelegate
 
 - 
handlepublic void handle(RoutingContext event) Something has happened, so handle it.- Specified by:
- handlein interface- AuthenticationHandler
- Specified by:
- handlein interface- Handler<RoutingContext>
- Parameters:
- event- the event to handle
 
 - 
createpublic static BasicAuthHandler create(AuthenticationProvider authProvider) Create a basic auth handler- Parameters:
- authProvider- the auth provider to use
- Returns:
- the auth handler
 
 - 
createpublic static BasicAuthHandler create(AuthenticationProvider authProvider, String realm) Create a basic auth handler, specifying realm- Parameters:
- authProvider- the auth service to use
- realm- the realm to use
- Returns:
- the auth handler
 
 - 
newInstancepublic static BasicAuthHandler newInstance(BasicAuthHandler arg) 
 
- 
 
-