|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet net.sf.ofx4j.server.OFXServlet
public class OFXServlet
Basic servlet that processes an OFX request.
Constructor Summary | |
---|---|
OFXServlet()
|
Method Summary | |
---|---|
protected OFXWriter |
createOFXWriter(java.io.OutputStream out)
Create the OFX writer. |
protected AggregateUnmarshaller<RequestEnvelope> |
createUnmarshaller()
Create the aggregate unmarshaller. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
OFXServer |
getServer()
Get the server instance. |
void |
init()
|
boolean |
isOFXVersion2()
Whether this servlet is OFX version 2. |
protected OFXServer |
loadOFXServer()
Load the OFX server instance that is to be used for this servlet. |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OFXServlet()
Method Detail |
---|
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
protected OFXWriter createOFXWriter(java.io.OutputStream out)
out
- The output stream.
protected AggregateUnmarshaller<RequestEnvelope> createUnmarshaller()
protected OFXServer loadOFXServer() throws javax.servlet.ServletException
javax.servlet.ServletException
public OFXServer getServer()
public boolean isOFXVersion2()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |