Package org.apache.wink.common.internal.providers.entity.opensearch

Examples of org.apache.wink.common.internal.providers.entity.opensearch.OpenSearchDescriptionProvider


    public static final String  URL                  = "/defects";

    public void testOpenSearchSerialization() throws Exception {

        OpenSearchDescriptionProvider provider = new OpenSearchDescriptionProvider();

        ByteArrayOutputStream os = new ByteArrayOutputStream();
        String expectedSerialization = null;
        try {
            provider.writeTo(buildOpenSearchDescriptor(BASE_URL),
                             OpenSearchDescription.class,
                             null,
                             null,
                             MediaTypeUtils.OPENSEARCH_TYPE,
                             null,
View Full Code Here

TOP

Related Classes of org.apache.wink.common.internal.providers.entity.opensearch.OpenSearchDescriptionProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.