Class RequestValidatorInterceptor

java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.apache.unomi.rest.validation.request.RequestValidatorInterceptor
All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>

public class RequestValidatorInterceptor extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
This interceptor is made to validate that the incoming post request on the public endpoints do not exceed the configured limit.
  • Constructor Details

    • RequestValidatorInterceptor

      public RequestValidatorInterceptor(ConfigSharingService configSharingService)
  • Method Details

    • handleMessage

      public void handleMessage(org.apache.cxf.message.Message message) throws org.apache.cxf.interceptor.Fault
      Throws:
      org.apache.cxf.interceptor.Fault