public static MocoEventAction get(final String url) {
return new MocoRequestAction(checkNotNullOrEmpty(url, "URL should not be null"), "GET", Optional.<ContentResource>absent());
}
public static MocoEventAction post(final String url, final ContentResource content) {
return new MocoRequestAction(checkNotNullOrEmpty(url, "URL should not be null"), "POST", of(checkNotNull(content, "Content should not be null")));
}