public class JerseyPriorities extends Object
Priorities
where finer-grained
categorization is required.Modifier and Type | Field and Description |
---|---|
static int |
POST_ENTITY_CODER
Priority for components that have to be called AFTER message encoders/decoders filters/interceptors.
|
Modifier and Type | Method and Description |
---|---|
static int |
getPriorityValue(Class<?> prioritized,
int defaultValue)
Return the value of priority annotation on a given class, if exists.
|
public static final int POST_ENTITY_CODER
Priorities.ENTITY_CODER
in order to force the
processing after the components with Priorities.ENTITY_CODER
are processed.public static int getPriorityValue(Class<?> prioritized, int defaultValue)
prioritized
- the provider class that potentially has a priority.defaultValue
- the default priority value if not {@link @Priority) presentCopyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.