Package net.bjmsw.hda.vs.helper
Class Snippets
java.lang.Object
net.bjmsw.hda.vs.helper.Snippets
Snippets class provides methods for some common http tasks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckMethod(Request r, Request.Method m) Checks if the specified request method is allowed.
-
Constructor Details
-
Snippets
public Snippets()
-
-
Method Details
-
checkMethod
Checks if the specified request method is allowed.- Parameters:
r- the request to be checkedm- the allowed request method- Returns:
- true if the request method is allowed, false otherwise
-