Interface TransactionFilter
-
- All Known Implementing Classes:
AbstractAccessTokenServlet,AbstractAccessTokenServlet2,AbstractAuthenticationServlet,AbstractCertServlet,AbstractInitServlet,AbstractRegistrationServlet,AuthorizationControllerServlet,AutoRegistrationServlet,BearerTokenServlet,DiscoveryServlet,DIService,ErrorServlet,MultiAuthServlet,OA2AdminRegistrationServlet,OA2ATServlet,OA2AuthenticationServer,OA2AuthorizationServer,OA2AuthorizedServlet,OA2AutoRegistrationServlet,OA2DiscoveryServlet,OA2RegistrationServlet,OA4MPServlet,ProxyCallbackServlet,RegistrationServlet,RFC7009,RFC7662,RFC8628Servlet,TokenManagerServlet,UserInfoServlet
public interface TransactionFilterA Filter pattern for working with servlets. Every servlet that can/does work with transactions will invoke these methods as needed. Do recall that the servlet will still have all the machinery from itsAbstractEnvironmentavailable.Created by Jeff Gaynor
on 4/23/12 at 4:39 PM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpostprocess(TransactionState transactionState)Invoked after the response has been written to theHttpServletResponsestream.voidpreprocess(TransactionState transactionState)Invoked after the transaction state has been determined, but before writing any response
-
-
-
Method Detail
-
preprocess
void preprocess(TransactionState transactionState) throws Throwable
Invoked after the transaction state has been determined, but before writing any response- Parameters:
transactionState-- Throws:
Throwable
-
postprocess
void postprocess(TransactionState transactionState) throws Throwable
Invoked after the response has been written to theHttpServletResponsestream. This is the very last call made by the servlet before returning.- Parameters:
transactionState-- Throws:
Throwable
-
-