/** * Gets the currently available mappings of the * Servlet represented by this <code>ServletRegistration</code>. * * <p>If permitted, any changes to the returned <code>Collection</code> must not * affect this <code>ServletRegistration</code>. * * @return a (possibly empty) <code>Collection</code> of the currently * available mappings of the Servlet represented by this * <code>ServletRegistration</code> */ @Override public Collection<String> getMappings() { return Collections.unmodifiableList( Arrays.asList(urlPatterns.getArrayCopy())); }
/** * Gets the currently available mappings of the * Servlet represented by this <code>ServletRegistration</code>. * * <p>If permitted, any changes to the returned <code>Collection</code> must not * affect this <code>ServletRegistration</code>. * * @return a (possibly empty) <code>Collection</code> of the currently * available mappings of the Servlet represented by this * <code>ServletRegistration</code> */ @Override public Collection<String> getMappings() { return Collections.unmodifiableList( Arrays.asList(urlPatterns.getArrayCopy())); }
/** * Gets the currently available mappings of the * Servlet represented by this <code>ServletRegistration</code>. * * <p>If permitted, any changes to the returned <code>Collection</code> must not * affect this <code>ServletRegistration</code>. * * @return a (possibly empty) <code>Collection</code> of the currently * available mappings of the Servlet represented by this * <code>ServletRegistration</code> */ @Override public Collection<String> getMappings() { return Collections.unmodifiableList( Arrays.asList(urlPatterns.getArrayCopy())); }
/** * Gets the currently available mappings of the * Servlet represented by this <code>ServletRegistration</code>. * * <p>If permitted, any changes to the returned <code>Collection</code> must not * affect this <code>ServletRegistration</code>. * * @return a (possibly empty) <code>Collection</code> of the currently * available mappings of the Servlet represented by this * <code>ServletRegistration</code> */ @Override public Collection<String> getMappings() { return Collections.unmodifiableList( Arrays.asList(urlPatterns.getArrayCopy())); }
/** * Gets the currently available mappings of the * Servlet represented by this <code>ServletRegistration</code>. * * <p>If permitted, any changes to the returned <code>Collection</code> must not * affect this <code>ServletRegistration</code>. * * @return a (possibly empty) <code>Collection</code> of the currently * available mappings of the Servlet represented by this * <code>ServletRegistration</code> */ @Override public Collection<String> getMappings() { return Collections.unmodifiableList( Arrays.asList(urlPatterns.getArrayCopy())); }
/** * Gets the currently available mappings of the * Servlet represented by this <code>ServletRegistration</code>. * * <p>If permitted, any changes to the returned <code>Collection</code> must not * affect this <code>ServletRegistration</code>. * * @return a (possibly empty) <code>Collection</code> of the currently * available mappings of the Servlet represented by this * <code>ServletRegistration</code> */ @Override public Collection<String> getMappings() { return Collections.unmodifiableList( Arrays.asList(urlPatterns.getArrayCopy())); }