Repository navigation
Allow JolokiaServer to select its port dynamically - #82
benson-basis wants to merge 1 commit into
Conversation
ability to configure server without string parsing.
|
Looks good, I will add your pull request this week (still need to update the docu). Thanks a lot ... BTW, I assume that your contribution can be licensed under the APL (as the rest of Jolokia). 'hope this is ok ... |
|
certainly. I put the al notice on the new file, for example. Thanks! On Mar 4, 2013, at 3:31 PM, "Roland Huß" notifications@github.com wrote: Looks good, I will add your pull request this week (still need to update Thanks a lot ... BTW, I assume that your contribution can be licensed under the APL (as the — |
|
ping? |
|
Sorry, still quite busy 😦 I will try to add it this evening. It's not forgotten. |
|
Merged in the changes. |
With this patch, the server can be initialized with port=0. The HttpServer will pick a port, the JolokiaServer will retrieve the selected port, and store it in the URL.
The patch also exposes the HttpServer 'getAddress()' method and an config class to which the user can supply a map instead of a string to parse.