jetty-9 added some @Overrides

This commit is contained in:
Greg Wilkins 2012-08-20 10:49:41 +10:00
parent 70b2a3f88e
commit 570bf6c580
3 changed files with 5 additions and 1 deletions

View File

@ -64,6 +64,7 @@ public class HandlerWrapper extends AbstractHandlerContainer
/**
* @return Returns the handlers.
*/
@Override
public Handler[] getHandlers()
{
if (_handler==null)
@ -114,6 +115,7 @@ public class HandlerWrapper extends AbstractHandlerContainer
}
/* ------------------------------------------------------------ */
@Override
public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
{
if (_handler!=null && isStarted())

View File

@ -59,6 +59,7 @@ public class HotSwapHandler extends AbstractHandlerContainer
/**
* @return Returns the handlers.
*/
@Override
public Handler[] getHandlers()
{
return new Handler[]
@ -122,6 +123,7 @@ public class HotSwapHandler extends AbstractHandlerContainer
/*
* @see org.eclipse.jetty.server.server.EventHandler#handle(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
*/
@Override
public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
{
if (_handler != null && isStarted())

View File

@ -114,7 +114,7 @@ public abstract class ScopedHandler extends HandlerWrapper
super.doStart();
_nextScope= (ScopedHandler)getChildHandlerByClass(ScopedHandler.class);
_nextScope= getChildHandlerByClass(ScopedHandler.class);
}
finally