Class PropagateOnStatus

  • All Implemented Interfaces:
    PropagateResponse

    public class PropagateOnStatus
    extends Object
    implements PropagateResponse
    Propagates an exception based on the specified Status code
    Author:
    Jeremy Unruh
    • Method Detail

      • propagate

        public void propagate​(HttpResponse response)
        Description copied from interface: PropagateResponse
        Called to allow for optional exception propagation depending on the HttpResponse state
        Specified by:
        propagate in interface PropagateResponse
        Parameters:
        response - the http response