@Override protected ResourceConfig getDefaultResourceConfig( Map<String, Object> props, WebConfig wc ) throws ServletException { Object classNames = props.get( ClassNamesResourceConfig.PROPERTY_CLASSNAMES ); if ( classNames != null ) { return new ClassNamesResourceConfig( props ); } return super.getDefaultResourceConfig( props, wc ); } }
@Override protected ResourceConfig getDefaultResourceConfig(Map<String, Object> props, WebConfig wc) throws ServletException { return ServletContainer.this.getDefaultResourceConfig(props, wc); } }
@Override protected ResourceConfig getDefaultResourceConfig(Map<String, Object> props, WebConfig wc) throws ServletException { return ServletContainer.this.getDefaultResourceConfig(props, wc); } }
@Override protected ResourceConfig getDefaultResourceConfig(Map<String, Object> props, WebConfig wc) throws ServletException { return ServletContainer.this.getDefaultResourceConfig(props, wc); } }
public ResourceConfig getDefaultResourceConfig(Map<String, Object> props) throws ServletException { return servlet.getDefaultResourceConfig(props, servlet.getServletConfig()); } }
public ResourceConfig getDefaultResourceConfig(Map<String, Object> props) throws ServletException { return servlet.getDefaultResourceConfig(props, servlet.getServletConfig()); } }
@Override protected ResourceConfig getDefaultResourceConfig( Map<String, Object> props, WebConfig wc ) throws ServletException { Object classNames = props.get( ClassNamesResourceConfig.PROPERTY_CLASSNAMES ); if ( classNames != null ) { return new ClassNamesResourceConfig( props ); } return super.getDefaultResourceConfig( props, wc ); } }
public ResourceConfig getDefaultResourceConfig(Map<String, Object> props) throws ServletException { return servlet.getDefaultResourceConfig(props, servlet.getServletConfig()); } }
/** * Get the default resource configuration if one is not declared in the * web.xml. * <p> * This implementation returns an instance of {@link WebAppResourceConfig} * that scans in files and directories as declared by the * {@link ClasspathResourceConfig#PROPERTY_CLASSPATH} if present, otherwise * in the "WEB-INF/lib" and "WEB-INF/classes" directories. * <p> * An inheriting class may override this method to supply a different * default resource configuration implementation. * * @param props the properties to pass to the resource configuration. * @param servletConfig the servlet configuration. * @return the default resource configuration. * * @throws javax.servlet.ServletException in case there was an error while retrieving the default resource config * @deprecated methods should implement {@link #getDefaultResourceConfig(java.util.Map, com.sun.jersey.spi.container.servlet.WebConfig) }. */ @Deprecated protected ResourceConfig getDefaultResourceConfig(Map<String, Object> props, ServletConfig servletConfig) throws ServletException { return getDefaultResourceConfig(props, getWebConfig()); }
/** * Get the default resource configuration if one is not declared in the * web.xml. * <p> * This implementation returns an instance of {@link WebAppResourceConfig} * that scans in files and directories as declared by the * {@link ClasspathResourceConfig#PROPERTY_CLASSPATH} if present, otherwise * in the "WEB-INF/lib" and "WEB-INF/classes" directories. * <p> * An inheriting class may override this method to supply a different * default resource configuration implementation. * * @param props the properties to pass to the resource configuration. * @param servletConfig the servlet configuration. * @return the default resource configuration. * * @throws javax.servlet.ServletException in case there was an error while retrieving the default resource config * @deprecated methods should implement {@link #getDefaultResourceConfig(java.util.Map, com.sun.jersey.spi.container.servlet.WebConfig) }. */ @Deprecated protected ResourceConfig getDefaultResourceConfig(Map<String, Object> props, ServletConfig servletConfig) throws ServletException { return getDefaultResourceConfig(props, getWebConfig()); }
/** * Get the default resource configuration if one is not declared in the * web.xml. * <p> * This implementation returns an instance of {@link WebAppResourceConfig} * that scans in files and directories as declared by the * {@link ClasspathResourceConfig#PROPERTY_CLASSPATH} if present, otherwise * in the "WEB-INF/lib" and "WEB-INF/classes" directories. * <p> * An inheriting class may override this method to supply a different * default resource configuration implementation. * * @param props the properties to pass to the resource configuration. * @param servletConfig the servlet configuration. * @return the default resource configuration. * * @throws javax.servlet.ServletException in case there was an error while retrieving the default resource config * @deprecated methods should implement {@link #getDefaultResourceConfig(java.util.Map, com.sun.jersey.spi.container.servlet.WebConfig) }. */ @Deprecated protected ResourceConfig getDefaultResourceConfig(Map<String, Object> props, ServletConfig servletConfig) throws ServletException { return getDefaultResourceConfig(props, getWebConfig()); }