public abstract class AbstractEDSServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
AbstractEDSServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns the names of the object types handled by this EDS implementation.
|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Method handling the POST requests.
|
String[] |
getObjectTypeNames(String repositoryId)
Returns the names of the all the object types handled by this servlet.
|
abstract void |
handleRequest(ExternalDataRequest dataRequest,
ExternalDataResponse dataResponse)
Handles the requests to the External Data Server.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static Logger logger
public AbstractEDSServlet()
HttpServlet.HttpServlet()protected 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.ServletExceptionIOExceptionHttpServlet.doGet(HttpServletRequest request, HttpServletResponse
response)protected 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.ServletExceptionIOExceptionHttpServlet.doPost(HttpServletRequest request, HttpServletResponse
response)public abstract void handleRequest(ExternalDataRequest dataRequest, ExternalDataResponse dataResponse)
dataRequest - the object containing data request.dataResponse - the object receiving the data response.public String[] getObjectTypeNames(String repositoryId)
repositoryId - the id of the repository.Copyright © 2018. All rights reserved.