Package com.blacklocus.webapp.app

Examples of com.blacklocus.webapp.app.StaticResourceUTF8CharEncodingFilterHolder


        webApp.setDefaultsDescriptor("webdefault-nojsp.xml");

        // Fixes serving static resources correctly. Without this, no charset is set in the Content-Type header and
        // 'good' browsers do a terrible job at guessing. Does not affect Java resources, which must specify
        // their own @Produces (usually by extending BaseJsonResource).
        webApp.addFilter(new StaticResourceUTF8CharEncodingFilterHolder(), "/*", EnumSet.allOf(DispatcherType.class));


        ////////////////////
        // Prepare jersey

View Full Code Here

TOP

Related Classes of com.blacklocus.webapp.app.StaticResourceUTF8CharEncodingFilterHolder

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.