예제 #1
0
 /**
  * Creates a URL by building a URL based on the public address.
  *
  * @param ctx the handling context at the time the public address is needed
  * @param action the additions to the public address
  * @return the built url
  * @throws Exception any thrown by {@code action}
  */
 default URI get(Context ctx, Action<? super HttpUrlBuilder> action) throws Exception {
   return action.with(builder(ctx)).build();
 }