com.afrozaar.wordpress.wpapi.v2.Wordpress Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wp-api-v2-client-java Show documentation
Show all versions of wp-api-v2-client-java Show documentation
A Java client implementation to the WordPress WP-API v2 plugin.
package com.afrozaar.wordpress.wpapi.v2;
import com.afrozaar.wordpress.wpapi.v2.api.Categories;
import com.afrozaar.wordpress.wpapi.v2.api.CustomCalls;
import com.afrozaar.wordpress.wpapi.v2.api.Medias;
import com.afrozaar.wordpress.wpapi.v2.api.Pages;
import com.afrozaar.wordpress.wpapi.v2.api.PostMetas;
import com.afrozaar.wordpress.wpapi.v2.api.Posts;
import com.afrozaar.wordpress.wpapi.v2.api.Tags;
import com.afrozaar.wordpress.wpapi.v2.api.Taxonomies;
import com.afrozaar.wordpress.wpapi.v2.api.Terms;
import com.afrozaar.wordpress.wpapi.v2.api.Users;
import com.afrozaar.wordpress.wpapi.v2.request.SearchRequest;
import com.afrozaar.wordpress.wpapi.v2.response.PagedResponse;
import java.net.URI;
import java.util.function.Function;
public interface Wordpress extends Posts, PostMetas, Taxonomies, Terms, Medias, Pages, Users, Tags, Categories, CustomCalls {
String getContext();
PagedResponse getPagedResponse(String context, Class typeRef, String... expandParams);
PagedResponse getPagedResponse(URI uri, Class typeRef);
PagedResponse traverse(PagedResponse response, Function, String> direction);
PagedResponse search(SearchRequest search);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy