Commit 16cca416 authored by guus's avatar guus

Minor re-structuring. Made unchangable fields final (OF-453).

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@12246 b35dd754-fafc-0310-a699-88a17e54d16e
parent 1b15dd8f
......@@ -34,17 +34,19 @@ import java.security.cert.X509Certificate;
* @author Alexander Wenckus
*/
public class HttpConnection {
private long requestId;
private static final String CONNECTION_CLOSED = "connection closed";
private static final String SUSPENDED = "org.eclipse.jetty.continuation.Suspended";
private final long requestId;
private final X509Certificate[] sslCertificates;
private final boolean isSecure;
private String body;
private HttpSession session;
private Continuation continuation;
private boolean isClosed;
private boolean isSecure = false;
private boolean isDelivered;
private X509Certificate[] sslCertificates;
private static final String CONNECTION_CLOSED = "connection closed";
private static final String SUSPENDED = "org.eclipse.jetty.continuation.Suspended";
private boolean isDelivered = false;
/**
* Constructs an HTTP Connection.
......@@ -56,7 +58,6 @@ public class HttpConnection {
public HttpConnection(long requestId, boolean isSecure, X509Certificate[] sslCertificates) {
this.requestId = requestId;
this.isSecure = isSecure;
this.isDelivered = false;
this.sslCertificates = sslCertificates;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment