Interface IAS4ServletRequestHandlerCustomizer


public interface IAS4ServletRequestHandlerCustomizer
This is a special callback handler that is meant to be used in combination with the Servlet handler to customize the incoming request handler.
Since:
3.0.0
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customizeAfterHandling(@NonNull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @NonNull AS4UnifiedResponse aUnifiedResponse, @NonNull AS4RequestHandler aRequestHandler)
    Called after the message was handled, and no exception was thrown.
    void
    customizeBeforeHandling(@NonNull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @NonNull AS4UnifiedResponse aUnifiedResponse, @NonNull AS4RequestHandler aRequestHandler)
    Called before the message is handled.
  • Method Details

    • customizeBeforeHandling

      void customizeBeforeHandling(@NonNull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @NonNull AS4UnifiedResponse aUnifiedResponse, @NonNull AS4RequestHandler aRequestHandler)
      Called before the message is handled.
      Note: was called "customize" until v0.9.4
      Parameters:
      aRequestScope - Request scope. Never null.
      aUnifiedResponse - The response to be filled. Never null.
      aRequestHandler - The main handler doing the hard work. Never null.
    • customizeAfterHandling

      void customizeAfterHandling(@NonNull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @NonNull AS4UnifiedResponse aUnifiedResponse, @NonNull AS4RequestHandler aRequestHandler)
      Called after the message was handled, and no exception was thrown.
      Parameters:
      aRequestScope - Request scope. Never null.
      aUnifiedResponse - The response to be filled. Never null.
      aRequestHandler - The main handler doing the hard work. Never null.
      Since:
      0.9.5