public class ResourceMethodMap<T extends ResourceMethodDescriptor> extends javax.ws.rs.core.MultivaluedHashMap<String,T> implements ExtMultivaluedMap<String,T>
| Constructor and Description |
|---|
ResourceMethodMap() |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getAllow()
Get HTTP method names to use it in 'Allow' header.
|
List<T> |
getList(String httpMethod) |
void |
sort()
Sort each collections in map.
|
add, addAll, addAll, addFirst, addFirstNull, addNull, clear, containsKey, containsValue, entrySet, equals, equalsIgnoreValueOrder, get, getFirst, getValues, hashCode, isEmpty, keySet, put, putAll, putSingle, remove, size, toString, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, addFirst, equalsIgnoreValueOrder, getFirst, putSingleclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic List<T> getList(String httpMethod)
getList in interface ExtMultivaluedMap<String,T extends ResourceMethodDescriptor>httpMethod - keypublic void sort()
public Collection<String> getAllow()
Copyright © 2012–2016 Codenvy, S.A.. All rights reserved.