Class RequestBlockingUtil
java.lang.Object
org.zeroturnaround.javarebel.integration.util.RequestBlockingUtil
Helper methods for blocking HTTP requests.
- Author:
- Rein Raudjärv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidblock(org.zeroturnaround.javarebel.RebelServletContext context) static voidblockExcludingLocalhost(org.zeroturnaround.javarebel.RebelServletContext context) static booleanunblock(org.zeroturnaround.javarebel.RebelServletContext context)
-
Constructor Details
-
RequestBlockingUtil
public RequestBlockingUtil()
-
-
Method Details
-
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)
-