Created
August 5, 2014 17:02
-
-
Save jeanouii/08d9d9085d824daf2f2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private Response handleMetadataRequest(Message m) { | |
| List<ProviderInfo<RequestHandler>> shs = ProviderFactory.getInstance(m).getRequestHandlers(); | |
| // this is actually being tested by ProviderFactory unit tests but just in case | |
| // WadlGenerator, the custom or default one, must be the first one | |
| if (shs.size() > 0 && shs.get(0).getProvider() instanceof WadlGenerator) { | |
| return shs.get(0).getProvider().handleRequest(m, null); | |
| } else { | |
| return null; | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment