Class RequestBlockingUtil
- java.lang.Object
-
- org.zeroturnaround.javarebel.integration.util.RequestBlockingUtil
-
public class RequestBlockingUtil extends Object
Helper methods for blocking HTTP requests.- Author:
- Rein Raudjärv
-
-
Constructor Summary
Constructors Constructor Description RequestBlockingUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidblock(org.zeroturnaround.javarebel.RebelServletContext context)static voidblockExcludingLocalhost(org.zeroturnaround.javarebel.RebelServletContext context)static booleanunblock(org.zeroturnaround.javarebel.RebelServletContext context)
-
-
-
Method Detail
-
block
public static void block(org.zeroturnaround.javarebel.RebelServletContext context)
-
blockExcludingLocalhost
public static void blockExcludingLocalhost(org.zeroturnaround.javarebel.RebelServletContext context)
-
unblock
public static boolean unblock(org.zeroturnaround.javarebel.RebelServletContext context)
-
-