public class ShutdownService extends AbstractService
<bean id="/shutdown" class="vodserver.service.ShutdownService">
<property name="confirm" value="<confirmation code>" />
</bean>
If the request includes a request parameter named 'confirm' with the value
matching the configured confirm property value, VODServer will be shut down.LOG
Constructor and Description |
---|
ShutdownService() |
Modifier and Type | Method and Description |
---|---|
String |
getConfirm() |
void |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle the service request.
|
void |
setConfirm(String confirm) |
afterPropertiesSet, extraAfterPropertiesSet
getBeanName, setBeanName
public void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
Service
IOException
javax.servlet.ServletException
public String getConfirm()
public void setConfirm(String confirm)
Copyright © 2013. All rights reserved.