@@ -0,0 +1,1202 @@
+package net.kencochrane.raven.event.interfaces;%0A%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport java.util.Collection;%0Aimport java.util.Collections;%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0A/**%0A * The HTTP interface for Sentry allows to add an HTTP request to an event.%0A */%0Apublic class HttpInterface implements SentryInterface %7B%0A    public static final String HTTP_INTERFACE = %22sentry.interfaces.Http%22;%0A    private final HttpServletRequest request;%0A%0A    public HttpInterface(HttpServletRequest request) %7B%0A        this.request = request;%0A    %7D%0A%0A    public static Map%3CString, Collection%3CString%3E%3E extractHeaders(HttpServletRequest servletRequest) %7B%0A        Collection%3CString%3E headerNames = Collections.list(servletRequest.getHeaderNames());%0A        Map%3CString, Collection%3CString%3E%3E headers = new HashMap%3CString, Collection%3CString%3E%3E(headerNames.size());%0A        for (String headerName : headerNames)%0A            headers.put(headerName, Collections.list(servletRequest.getHeaders(headerName)));%0A        return headers;%0A    %7D%0A%0A    @Override%0A    public String getInterfaceName() %7B%0A        return HTTP_INTERFACE;%0A    %7D%0A%0A    public HttpServletRequest getRequest() %7B%0A        return request;%0A    %7D%0A%7D%0A

Create the base of a future HttpInterface