Response.java 1.61 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.day.jcr.vault.fs.api.ProgressTrackerListener
 *  javax.servlet.http.HttpServletResponse
 */
package com.day.crx.packaging.impl.response;

import com.day.crx.packaging.ProxyTracker;
import com.day.crx.packaging.impl.RequestWrapper;
import com.day.jcr.vault.fs.api.ProgressTrackerListener;
import java.io.IOException;
import javax.servlet.http.HttpServletResponse;

public interface Response
extends ProgressTrackerListener {
    public static final String TEXT_HTML_UTF8 = "text/html; charset=utf-8";
    public static final String APPLICATION_JSON_UTF8 = "application/json; charset=utf-8";

    public void setCRXRequestResponse(RequestWrapper var1, HttpServletResponse var2);

    public RequestWrapper getServletRequest();

    public HttpServletResponse getServletResponse();

    public void init() throws IOException;

    public void start(String var1) throws IOException;

    public /* varargs */ void log(String var1, Object ... var2);

    public void setPath(String var1) throws IOException;

    public void setAlertMessage(String var1) throws IOException;

    public void success(String var1) throws IOException;

    public void success(String var1, String var2) throws IOException;

    public void error(String var1) throws IOException;

    public void error(String var1, Throwable var2) throws IOException;

    public ShareTracker getTracker(String var1, String var2);

    public void send() throws IOException;

    public static interface ShareTracker
    extends ProxyTracker {
        public void message(String var1, String var2);
    }

}