/** * Returns the list of new accept-encoding header values. Each of them * describe also a set of conditions required to set the new value. This * method is used only to initialize the headerReplacers field. * * @return The list of new accept-encoding header values. */ private List<HeaderReplacer> getAcceptEncodingReplacers() { // Load the accept.properties file. return getheaderReplacers( Engine.getResource("org/restlet/service/accept-encoding.properties"), "acceptEncodingOld", "acceptEncodingNew"); }
/** * Returns the list of new accept header values. Each of them describe also * a set of conditions required to set the new value. This method is used * only to initialize the headerReplacers field. * * @return The list of new accept header values. */ private List<HeaderReplacer> getAcceptReplacers() { // Load the accept.properties file. return getheaderReplacers( Engine.getResource("org/restlet/service/accept.properties"), "acceptOld", "acceptNew"); }
.getResource("org/restlet/data/agent.properties"); if (userAgentPropertiesUrl != null) { BufferedReader reader;
Representation representation = null; URL wadl2htmlXsltUrl = Engine .getResource("org/restlet/ext/wadl/wadl2html.xslt");