documentation/docs/http-action-adapter.md

Summary

Maintainability
Test Coverage
---
layout: doc
title: HTTP action adapter:
---

The [`HttpActionAdapter`](https://github.com/pac4j/pac4j/blob/master/pac4j-core/src/main/java/org/pac4j/core/http/adapter/HttpActionAdapter.java) is an abstraction to apply *pac4j* HTTP actions
(= [`HttpAction`](https://github.com/pac4j/pac4j/blob/master/pac4j-core/src/main/java/org/pac4j/core/exception/http/HttpAction.java)) returned by the logics on the HTTP request/response = the [web context](web-context.html).

Its implementations are different depending on the *pac4*j implementations.

For example, there is a [`JEEHttpActionAdapter`](https://github.com/pac4j/pac4j/blob/master/pac4j-core/src/main/java/org/pac4j/core/http/adapter/JEEHttpActionAdapter.java) for JEE applications, a `PlayHttpActionAdapter` for Play applications, etc.