Package com.helger.phase4.servlet
Interface AS4XServletHandler.IHandlerCustomizer
- Enclosing class:
- AS4XServletHandler
public static interface AS4XServletHandler.IHandlerCustomizer
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidcustomizeAfterHandling(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, AS4UnifiedResponse aUnifiedResponse, AS4RequestHandler aHandler) Called after the message was handled, and no exception was thrown.voidcustomizeBeforeHandling(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, AS4UnifiedResponse aUnifiedResponse, AS4RequestHandler aHandler) Called before the message is handled.
-
Method Details
-
customizeBeforeHandling
void customizeBeforeHandling(@Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @Nonnull AS4UnifiedResponse aUnifiedResponse, @Nonnull AS4RequestHandler aHandler) Called before the message is handled.
Note: was called "customize" until v0.9.4- Parameters:
aRequestScope- Request scope. Nevernull.aUnifiedResponse- The response to be filled. Nevernull.aHandler- The main handler doing the hard work. Nevernull.
-
customizeAfterHandling
default void customizeAfterHandling(@Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @Nonnull AS4UnifiedResponse aUnifiedResponse, @Nonnull AS4RequestHandler aHandler) Called after the message was handled, and no exception was thrown.- Parameters:
aRequestScope- Request scope. Nevernull.aUnifiedResponse- The response to be filled. Nevernull.aHandler- The main handler doing the hard work. Nevernull.- Since:
- 0.9.5
-