Class 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 Detail

      • DefaultHttpActionAdapter

        public DefaultHttpActionAdapter()
    • Method Detail

      • adapt

        public java.lang.Void adapt​(int code,
                                    VertxWebContext context)
        Specified by:
        adapt in interface org.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)