// Path: src/org/httpkit/HttpMethod.java
// public enum HttpMethod {
// 
//     GET(intern("get")), HEAD(intern("head")), POST(intern("post")), PUT(intern("put")),
//     DELETE(intern("delete")), TRACE(intern("trace")), OPTIONS(intern("options")),
//     CONNECT(intern("connect")), PATCH(intern("patch"));
// 
//     public final Keyword KEY;
// 
//     private HttpMethod(Keyword key) {
//         this.KEY = key;
//     }
// 
//     public static HttpMethod fromKeyword(Keyword k) {
//         HttpMethod[] values = HttpMethod.values();
//         for (HttpMethod m : values) {
//             if (m.KEY.equals(k)) {
//                 return m;
//             }
//         }
//         throw new RuntimeException("unsupported method " + k);
//     }
// }


import org.httpkit.HttpMethod;
import java.util.Map;
package org.httpkit.client;



public class RequestConfig {
    public static String DEFAULT_USER_AGENT = "http-kit/2.0";

    final int timeout;
    final int keepAlive;
    final Object body;
    final Map<String, Object> headers;
// Path: src/org/httpkit/HttpMethod.java
// public enum HttpMethod {
// 
//     GET(intern("get")), HEAD(intern("head")), POST(intern("post")), PUT(intern("put")),
//     DELETE(intern("delete")), TRACE(intern("trace")), OPTIONS(intern("options")),
//     CONNECT(intern("connect")), PATCH(intern("patch"));
// 
//     public final Keyword KEY;
// 
//     private HttpMethod(Keyword key) {
//         this.KEY = key;
//     }
// 
//     public static HttpMethod fromKeyword(Keyword k) {
//         HttpMethod[] values = HttpMethod.values();
//         for (HttpMethod m : values) {
//             if (m.KEY.equals(k)) {
//                 return m;
//             }
//         }
//         throw new RuntimeException("unsupported method " + k);
//     }
// }


// Path: src/org/httpkit/client/RequestConfig.java
import org.httpkit.HttpMethod;
import java.util.Map;

package org.httpkit.client;



public class RequestConfig {
    public static String DEFAULT_USER_AGENT = "http-kit/2.0";

    final int timeout;
    final int keepAlive;
    final Object body;
    final Map<String, Object> headers;
    final HttpMethod method;