* Specify a middleware that will be called for a matching HTTP OPTIONS
* @param regex A regular expression
* @param handler The middleware to call
*/
public Router options(@NotNull final Pattern regex, @NotNull final Handler<YokeRequest> handler) {
return options(regex, new Middleware() {
@Override
public void handle(@NotNull YokeRequest request, @NotNull Handler<Object> next) {
handler.handle(request);
}
});