Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/Connector.java @ 972:5ee36654b383
simplify AbstractHttpConnection
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 15 Oct 2016 22:42:05 -0600 |
parents | 1094975d013b |
children | d9cfec64899c |
comparison
equal
deleted
inserted
replaced
971:f997df37cec1 | 972:5ee36654b383 |
---|---|
33 import org.eclipse.jetty.http.HttpFields; | 33 import org.eclipse.jetty.http.HttpFields; |
34 import org.eclipse.jetty.http.HttpHeaders; | 34 import org.eclipse.jetty.http.HttpHeaders; |
35 import org.eclipse.jetty.http.HttpSchemes; | 35 import org.eclipse.jetty.http.HttpSchemes; |
36 import org.eclipse.jetty.io.Buffers; | 36 import org.eclipse.jetty.io.Buffers; |
37 import org.eclipse.jetty.io.Buffers.Type; | 37 import org.eclipse.jetty.io.Buffers.Type; |
38 import org.eclipse.jetty.io.Connection; | |
39 import org.eclipse.jetty.io.EndPoint; | 38 import org.eclipse.jetty.io.EndPoint; |
40 import org.eclipse.jetty.io.EofException; | 39 import org.eclipse.jetty.io.EofException; |
41 import org.eclipse.jetty.util.component.AggregateLifeCycle; | 40 import org.eclipse.jetty.util.component.AggregateLifeCycle; |
42 import org.eclipse.jetty.util.component.Dumpable; | 41 import org.eclipse.jetty.util.component.Dumpable; |
43 import org.slf4j.Logger; | 42 import org.slf4j.Logger; |
187 | 186 |
188 public void customize(EndPoint endpoint, Request request) throws IOException | 187 public void customize(EndPoint endpoint, Request request) throws IOException |
189 { | 188 { |
190 } | 189 } |
191 | 190 |
192 public boolean isConfidential(Request request) | 191 public boolean isConfidential() |
193 { | 192 { |
194 return false; | 193 return false; |
195 } | 194 } |
196 | 195 |
197 protected abstract void accept() throws IOException, InterruptedException; | 196 protected abstract void accept() throws IOException, InterruptedException; |