AeroGear Android Library 1.1.0

org.jboss.aerogear.android.impl.util
Class UrlUtils

java.lang.Object
  extended by org.jboss.aerogear.android.impl.util.UrlUtils

public final class UrlUtils
extends Object


Method Summary
static URL appendToBaseURL(URL baseURL, String endpoint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

appendToBaseURL

public static URL appendToBaseURL(URL baseURL,
                                  String endpoint)
Parameters:
baseURL -
endpoint -
Returns:
a new url baseUrl + endpoint
Throws:
IllegalArgumentException - if baseUrl+endpoint is not a real url.

AeroGear Android Library 1.1.0

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.