Destination destination = new Destination( "http://localhost/{version}/" ); RequestContext context = destination.getRequestContext(); context.addPathSegment( "id", "12345" ).addPathSegment( "version", "1.1" );Produces: http://localhost/1.1/12345/ @since 1.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|