public class PropertyServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOGGER
The logger.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPut(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
init() |
static org.eclipse.jetty.server.Server |
startServer(org.apache.hadoop.conf.Configuration conf)
Convenience method to start a http server that only serves this servlet.
|
doDelete, doHead, doOptions, doTrace, getLastModified, service, servicepublic void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doPut(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doPut in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionpublic static org.eclipse.jetty.server.Server startServer(org.apache.hadoop.conf.Configuration conf)
throws Exception
conf - the configurationException - if servlet initialization failsCopyright © 2024 The Apache Software Foundation. All rights reserved.