org.openmms.relay
Class MM1_RelayResponse

java.lang.Object
  |
  +--org.openmms.relay.MM1_RelayResponse

public class MM1_RelayResponse
extends java.lang.Object

Title: MM1_RelayResponse

Description:

Copyright: Copyright (c) 2003 OpenMMS.org


Constructor Summary
MM1_RelayResponse()
           
 
Method Summary
 void returnBadRequest(javax.servlet.http.HttpServletResponse res)
          Sets the http-status, bad request, if applicable
 void returnMM1_m_retrieve_conf(javax.servlet.http.HttpServletResponse res, MM_Data mm, int nStatusFlag)
          Processes the retrieval of an MM
 void returnMM1_m_send_conf(javax.servlet.http.HttpServletResponse res, MM_Data mm, int nStatusFlag)
          Builds and sends a response to m_send_req (MM in)
 void returnServerError(javax.servlet.http.HttpServletResponse res, int nStatusFlag)
          Sets and returns a server error message, as a header in the response object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MM1_RelayResponse

public MM1_RelayResponse()
Method Detail

returnMM1_m_retrieve_conf

public void returnMM1_m_retrieve_conf(javax.servlet.http.HttpServletResponse res,
                                      MM_Data mm,
                                      int nStatusFlag)
                               throws OpenMMSException
Processes the retrieval of an MM

Parameters:
res -
mm -
nStatusFlag -
Throws:
OpenMMSException

returnMM1_m_send_conf

public void returnMM1_m_send_conf(javax.servlet.http.HttpServletResponse res,
                                  MM_Data mm,
                                  int nStatusFlag)
                           throws OpenMMSException
Builds and sends a response to m_send_req (MM in)

Parameters:
res -
mm -
nStatusFlag -
Throws:
OpenMMSException

returnBadRequest

public void returnBadRequest(javax.servlet.http.HttpServletResponse res)
                      throws OpenMMSException
Sets the http-status, bad request, if applicable

Parameters:
res -
Throws:
OpenMMSException

returnServerError

public void returnServerError(javax.servlet.http.HttpServletResponse res,
                              int nStatusFlag)
                       throws OpenMMSException
Sets and returns a server error message, as a header in the response object

Parameters:
res -
nStatusFlag -
Throws:
OpenMMSException