jetty-9: Cosmetics.
This commit is contained in:
parent
01c9aa93e9
commit
2e02f153ce
|
@ -277,12 +277,12 @@ public class HttpConnection extends AbstractConnection implements Runnable, Http
|
|||
LOG.debug(e);
|
||||
else
|
||||
LOG.warn(this.toString(), e);
|
||||
getEndPoint().close();
|
||||
close();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LOG.warn(this.toString(), e);
|
||||
getEndPoint().close();
|
||||
close();
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
|
|
@ -25,7 +25,6 @@ import java.util.Collection;
|
|||
import java.util.Collections;
|
||||
import java.util.Locale;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
import javax.servlet.RequestDispatcher;
|
||||
import javax.servlet.ServletOutputStream;
|
||||
import javax.servlet.http.Cookie;
|
||||
|
@ -43,6 +42,7 @@ import org.eclipse.jetty.http.HttpStatus;
|
|||
import org.eclipse.jetty.http.HttpURI;
|
||||
import org.eclipse.jetty.http.HttpVersion;
|
||||
import org.eclipse.jetty.http.MimeTypes;
|
||||
import org.eclipse.jetty.io.RuntimeIOException;
|
||||
import org.eclipse.jetty.server.handler.ContextHandler;
|
||||
import org.eclipse.jetty.server.handler.ErrorHandler;
|
||||
import org.eclipse.jetty.util.ByteArrayISO8859Writer;
|
||||
|
@ -722,7 +722,7 @@ public class Response implements HttpServletResponse
|
|||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
throw new RuntimeException(e);
|
||||
throw new RuntimeIOException(e);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue