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, extraAfterPropertiesSetgetBeanName, setBeanNamepublic void handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
ServiceIOExceptionjavax.servlet.ServletExceptionpublic String getConfirm()
public void setConfirm(String confirm)
Copyright © 2013. All rights reserved.