|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceComparator
Can be used to affect the way the JAXRS selection algorithm chooses between multiple matching resource classes and methods
Method Summary | |
---|---|
int |
compare(ClassResourceInfo cri1,
ClassResourceInfo cri2,
Message message)
Compares two resource classes |
int |
compare(OperationResourceInfo oper1,
OperationResourceInfo oper2,
Message message)
Compares two resource methods |
Method Detail |
---|
int compare(ClassResourceInfo cri1, ClassResourceInfo cri2, Message message)
cri1
- First resource classcri2
- Second resource classmessage
- incoming message
int compare(OperationResourceInfo oper1, OperationResourceInfo oper2, Message message)
oper1
- First resource methodoper2
- Second resource methodmessage
- incoming message
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |