// Path: src/main/java/com/jaku/core/JakuRequest.java
// public class JakuRequest {
// 
// 	private JakuRequestData jakuRequestData;
// 	private JakuParser jakuParser;
// 	
// 	public JakuRequest(JakuRequestData piavaRequestData, JakuParser jakuParser) {
// 		this.jakuRequestData = piavaRequestData;
// 		this.jakuParser = jakuParser;
// 	}
// 	
// 	public JakuResponse send() throws IOException {
// 		JakuResponse jakuResponse = null;
// 		
// 		String url = jakuRequestData.getEndpointUrl();
// 		JakuParser parser = jakuParser;
// 		
// 		Request request = null;
// 		
// 		if (jakuRequestData.getMethod().equalsIgnoreCase("GET")) {
// 			request = new GETRequest(url);
// 		} else if (jakuRequestData.getMethod().equalsIgnoreCase("POST")) {
// 			request = new POSTRequest(url, "");
// 		} else if (jakuRequestData.getMethod().equalsIgnoreCase("DISCOVERY")) {
// 			request = new DiscoveryRequest(url);
// 		}
// 		
// 		Response response = request.send();
// 		
// 		System.out.println("Request response: " + response.getData());
// 		
// 		jakuResponse = new JakuResponse(generateResponseData(response, parser));
// 		
// 		return jakuResponse;
// 	}
// 	
// 	private Object generateResponseData(Response response, JakuParser parser) {
// 		if (parser == null) {
// 			return null;
// 		}
// 		
// 		return parser.parse(response);
// 	}
// }
// 
// Path: src/main/java/com/jaku/request/LaunchAppRequest.java
// public class LaunchAppRequest extends JakuRequestData {
// 
// 	private String appId;
// 	
// 	public LaunchAppRequest(String url, String appId) {
// 		super(url);		
// 		this.appId = appId;
// 	}
// 	
// 	@Override
// 	public String getPath() {
// 		return "/launch/" + appId;
// 	}
// 
// 	@Override
// 	public String getMethod() {
// 		return "POST";
// 	}
// }


import java.io.IOException;
import com.jaku.core.JakuRequest;
import com.jaku.request.LaunchAppRequest;
package com.jaku.api;



public class LaunchRequests {
	
	private LaunchRequests() {
		
	}
	
	public static final void launchAppIdRequest(String url, String appId) throws IOException {
		LaunchAppRequest launchAppIdRequest = new LaunchAppRequest(url, appId);
		
// Path: src/main/java/com/jaku/core/JakuRequest.java
// public class JakuRequest {
// 
// 	private JakuRequestData jakuRequestData;
// 	private JakuParser jakuParser;
// 	
// 	public JakuRequest(JakuRequestData piavaRequestData, JakuParser jakuParser) {
// 		this.jakuRequestData = piavaRequestData;
// 		this.jakuParser = jakuParser;
// 	}
// 	
// 	public JakuResponse send() throws IOException {
// 		JakuResponse jakuResponse = null;
// 		
// 		String url = jakuRequestData.getEndpointUrl();
// 		JakuParser parser = jakuParser;
// 		
// 		Request request = null;
// 		
// 		if (jakuRequestData.getMethod().equalsIgnoreCase("GET")) {
// 			request = new GETRequest(url);
// 		} else if (jakuRequestData.getMethod().equalsIgnoreCase("POST")) {
// 			request = new POSTRequest(url, "");
// 		} else if (jakuRequestData.getMethod().equalsIgnoreCase("DISCOVERY")) {
// 			request = new DiscoveryRequest(url);
// 		}
// 		
// 		Response response = request.send();
// 		
// 		System.out.println("Request response: " + response.getData());
// 		
// 		jakuResponse = new JakuResponse(generateResponseData(response, parser));
// 		
// 		return jakuResponse;
// 	}
// 	
// 	private Object generateResponseData(Response response, JakuParser parser) {
// 		if (parser == null) {
// 			return null;
// 		}
// 		
// 		return parser.parse(response);
// 	}
// }
// 
// Path: src/main/java/com/jaku/request/LaunchAppRequest.java
// public class LaunchAppRequest extends JakuRequestData {
// 
// 	private String appId;
// 	
// 	public LaunchAppRequest(String url, String appId) {
// 		super(url);		
// 		this.appId = appId;
// 	}
// 	
// 	@Override
// 	public String getPath() {
// 		return "/launch/" + appId;
// 	}
// 
// 	@Override
// 	public String getMethod() {
// 		return "POST";
// 	}
// }


// Path: src/main/java/com/jaku/api/LaunchRequests.java
import java.io.IOException;
import com.jaku.core.JakuRequest;
import com.jaku.request.LaunchAppRequest;

package com.jaku.api;



public class LaunchRequests {
	
	private LaunchRequests() {
		
	}
	
	public static final void launchAppIdRequest(String url, String appId) throws IOException {
		LaunchAppRequest launchAppIdRequest = new LaunchAppRequest(url, appId);
		
		JakuRequest request = new JakuRequest(launchAppIdRequest, null);