Package com.getperka.flatpack.jersey

Examples of com.getperka.flatpack.jersey.FlatPackProvider


        .withPrincipalMapper(new DemoPrincipalMapper())
        .withVerbose(true);
    // The FlatPackResolver makes a FlatPack instance available through the Resources interface
    toReturn.add(new FlatPackResolver(configuration));
    // The FlatPackProvider installs MessageBodyReader/Writer behavior
    toReturn.add(new FlatPackProvider());
    // This is a Resource endpoint, where HTTP paths are resolved to method invocations
    toReturn.add(new DemoResource(db));
    return toReturn;
  }
View Full Code Here

TOP

Related Classes of com.getperka.flatpack.jersey.FlatPackProvider

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.