public abstract class IlvServletSupport extends Object
Modifier | Constructor and Description |
---|---|
protected |
IlvServletSupport()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doGetScriptMessage(jakarta.servlet.http.HttpServletRequest request,
jakarta.servlet.http.HttpServletResponse response)
Responds to a request of getting script messages.
|
protected abstract jakarta.servlet.ServletContext |
getContext()
Gets the servlet context.
|
IlvParameterValidationListener |
getParameterValidationListener()
Gets the parameter validation listener.
|
IlvScriptMessageServletSupport |
getScriptMessageSupport()
Returns the
IlvScriptMessageServletSupport class
which defines a servlet support
dedicated to load script message requests |
protected boolean |
handleRequest(jakarta.servlet.http.HttpServletRequest request,
jakarta.servlet.http.HttpServletResponse response)
Handles the HTTP request.
|
void |
setParameterValidationListener(IlvParameterValidationListener action)
Sets a new parameter validation listener.
|
public void setParameterValidationListener(IlvParameterValidationListener action)
action
- The parameter validation listener.public IlvParameterValidationListener getParameterValidationListener()
protected abstract jakarta.servlet.ServletContext getContext()
protected void doGetScriptMessage(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException
request
- The current HTTP request.response
- The HTTP response.IOException
jakarta.servlet.ServletException
public IlvScriptMessageServletSupport getScriptMessageSupport()
IlvScriptMessageServletSupport
class
which defines a servlet support
dedicated to load script message requestsprotected boolean handleRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException
request
- The HttpServletRequest
instance.response
- The HttpServletResponse
instance.IOException
- The IOException
jakarta.servlet.ServletException
- The ServletException
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.