Package org.pac4j.vertx.http
Class DefaultHttpActionAdapter
- java.lang.Object
-
- org.pac4j.vertx.http.DefaultHttpActionAdapter
-
- All Implemented Interfaces:
org.pac4j.core.http.adapter.HttpActionAdapter<java.lang.Void,VertxWebContext>
public class DefaultHttpActionAdapter extends java.lang.Object implements org.pac4j.core.http.adapter.HttpActionAdapter<java.lang.Void,VertxWebContext>
- Since:
- 2.0.0
- Author:
- Jeremy Prime
-
-
Constructor Summary
Constructors Constructor Description DefaultHttpActionAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Void
adapt(int code, VertxWebContext context)
protected void
redirect(java.lang.String location, VertxWebContext webContext)
protected void
sendFailureResponse(VertxWebContext webContext, int code)
-
-
-
Method Detail
-
adapt
public java.lang.Void adapt(int code, VertxWebContext context)
- Specified by:
adapt
in interfaceorg.pac4j.core.http.adapter.HttpActionAdapter<java.lang.Void,VertxWebContext>
-
redirect
protected void redirect(java.lang.String location, VertxWebContext webContext)
-
sendFailureResponse
protected void sendFailureResponse(VertxWebContext webContext, int code)
-
-