Added Constructors |
HttpServer(String, String, int, boolean, Configuration, AccessControlList)
|
Create a status server on the given port. |
HttpServer(String, String, int, boolean, Configuration, AccessControlList, Connector)
|
|
HttpServer(String, String, int, boolean, Configuration, Connector)
|
|
Added Methods |
void addContext(Context, boolean)
|
|
void addGlobalFilter(String, String, Map)
|
{@inheritDoc} |
void addInternalServlet(String, String, Class)
|
Add an internal servlet in the server. |
void addInternalServlet(String, String, Class, boolean)
|
Add an internal servlet in the server specifying whether or not to protect with Kerberos authentication. |
void addSslListener(InetSocketAddress, Configuration, boolean)
|
Configure an ssl listener on the server. |
void addSslListener(InetSocketAddress, Configuration, boolean, boolean)
|
Configure an ssl listener on the server. |
Connector createBaseListener(Configuration )
|
Create a required listener for the Jetty instance listening on the port provided. |
Connector createDefaultChannelConnector()
|
|
boolean hasAdministratorAccess(ServletContext, HttpServletRequest, HttpServletResponse)
|
Does the user sending the HttpServletRequest has the administrator ACLs If it isn't the case response will be modified to send an error to the user. |
void join()
|
|
Changed Methods |
void addDefaultApps(ContextHandlerCollection, String)
|
Change in signature from String to (ContextHandlerCollection, String ).
|
Add default apps. |
void addFilter(String, String, Map)
|
Change in signature from (String, String, String, String> ) to (String, String, Map ).
|
{@inheritDoc} |
void addFilterPathMapping(String, Context)
|
Change in signature from String to (String, Context ).
|
Add the path spec to the filter path mapping. |
void addServlet(String, String, Class)
|
Change in signature from (String, String, Class, extends, HttpServlet> ) to (String, String, Class ).
|
Add a servlet in the server. |
void defineFilter(Context, String, String, Map, String[])
|
Change in signature from (WebApplicationContext, String, String, String, String>, String[] ) to (Context, String, String, Map, String[] ).
|
Define a filter for a context and set up default url mappings. |
void stop()
|
Change in exceptions thrown from java.lang.InterruptedException to java.lang.Exception .
|
stop the server |
void addSslListener(InetSocketAddress, String, String, String)
|
Now deprecated.
|
Use {@link #addSslListener(InetSocketAddress, Configuration, boolean)} |