Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.phonedeck.gcm4j;
 
 import java.net.URL;

Connection Factory that uses java.net.URL.openConnection().
public class DefaultConnectionFactory implements ConnectionFactory {
    @Override
    public HttpURLConnection open(URL urlthrows IOException {
        return (HttpURLConnectionurl.openConnection();
    }
New to GrepCode? Check out our FAQ X