CoreService, ServiceControllerpublic interface WebService extends CoreService
Created: 2017. 10. 28.
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
ROOT_WEB_SERVICE_ATTRIBUTE |
ServletContext attribute name used to obtain the root WebService object.
|
static java.lang.String |
STANDALONE_WEB_SERVICE_ATTRIBUTE_PREFIX |
The prefix of the ServletContext property name used to get the standalone WebService object.
|
| Modifier and Type | Method | Description |
|---|---|---|
static WebService |
create(WebActivityServlet servlet) |
Returns a new instance of WebService.
|
static WebService |
create(WebActivityServlet servlet,
WebService rootService) |
Returns a new instance of WebService.
|
static WebService |
create(javax.servlet.ServletContext servletContext) |
Returns a new instance of WebService.
|
static WebService |
create(javax.servlet.ServletContext servletContext,
CoreService rootService) |
Returns a new instance of WebService.
|
void |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Executes a Web Activity.
|
getActivityContext, getApplicationAdapter, getAspectranClassLoader, getAspectranConfig, getBasePath, isHardReloadgetServiceName, isActive, isBusy, isDerived, pause, pause, restart, restart, resume, setServiceStateListener, start, stopstatic final java.lang.String ROOT_WEB_SERVICE_ATTRIBUTE
static final java.lang.String STANDALONE_WEB_SERVICE_ATTRIBUTE_PREFIX
void execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
request - current HTTP servlet requestresponse - current HTTP servlet responsejava.io.IOException - If an error occurs during Activity executionstatic WebService create(javax.servlet.ServletContext servletContext) throws AspectranServiceException
servletContext - the servlet contextAspectranServiceException - the aspectran service exceptionstatic WebService create(javax.servlet.ServletContext servletContext, CoreService rootService) throws AspectranServiceException
servletContext - the servlet contextrootService - the root serviceAspectranServiceException - the aspectran service exceptionstatic WebService create(WebActivityServlet servlet) throws AspectranServiceException
servlet - the web activity servletAspectranServiceException - the aspectran service exceptionstatic WebService create(WebActivityServlet servlet, WebService rootService) throws AspectranServiceException
servlet - the servletrootService - the root serviceAspectranServiceException - the aspectran service exceptionCopyright © 2008–2018 The Aspectran Project. All rights reserved.