Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.servlet
Class BajaServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--oracle.cabo.servlet.UIXServlet
                    |
                    +--oracle.cabo.servlet.BajaServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

Deprecated. since 2.1.7 in favor of UIXServlet.

public class BajaServlet
extends UIXServlet

See Also:
PageBrokerHandler, Serialized Form

Constructor Summary
BajaServlet()
          Deprecated. Creates the servlet.
 
Method Summary
protected  BajaContext createBajaContext(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
          Deprecated. Creates the BajaContext.
protected  PageBrokerHandler createPageBrokerHandler(BajaContext context)
          Deprecated. Creates the PageBrokerHandler that will be used to process the page.
 void destroy()
          Deprecated. Called by the servlet container to indicate to a servlet that the servlet is being taken out of service.
protected  void doGet(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
          Deprecated. Receives an HTTP GET request from the protected service method and handles the request.
 void doPost(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
          Deprecated. Receives an HTTP POST request from the protected service method and handles the request.
protected  long getLastModified(javax.servlet.http.HttpServletRequest httpRequest)
          Deprecated. Returns the time the HttpServletRequest object was last modified, in milliseconds since midnight January 1, 1970 GMT.
 PageBroker getPageBroker()
          Deprecated. Returns the PageBroker attached to the servlet.
 void init(javax.servlet.ServletConfig config)
          Deprecated. Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doOptions, doPut, doTrace, service, service
 
Methods inherited from class javax.servlet.GenericServlet
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

BajaServlet

public BajaServlet()
Deprecated. 
Creates the servlet.
Method Detail

getPageBroker

public PageBroker getPageBroker()
Deprecated. 
Returns the PageBroker attached to the servlet.
Overrides:
getPageBroker in class UIXServlet

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Deprecated. 
Called by the servlet container to indicate to a servlet that the servlet is being placed into service.

This implementation stores the ServletConfig object it receives from the servlet container for alter use. When overriding this form of the method, call super.init(config).

Overrides:
init in class UIXServlet
Parameters:
config - the ServletConfig object that contains configutation information for this servlet
Throws:
javax.servlet.ServletException - if an exception occurs that interrupts the servlet's normal operation

destroy

public void destroy()
Deprecated. 
Called by the servlet container to indicate to a servlet that the servlet is being taken out of service.
Overrides:
destroy in class UIXServlet

doPost

public void doPost(javax.servlet.http.HttpServletRequest httpRequest,
                   javax.servlet.http.HttpServletResponse httpResponse)
            throws java.io.IOException,
                   javax.servlet.ServletException
Deprecated. 
Receives an HTTP POST request from the protected service method and handles the request. The HTTP POST method allows the client to send data of unlimited length to the Web server once and is useful when posting information such as credit card numbers.
Overrides:
doPost in class UIXServlet
Parameters:
httpRequest - an HttpServletRequest object that contains the request the client has made of the servlet
httpResponse - an HttpServletResponse object that contains the response the servlet sends to the object
Throws:
java.io.IOException - if an input or output error is detected when the servlet handles the request
javax.servlet.ServletException - if the request for the POST could not be handled

doGet

protected void doGet(javax.servlet.http.HttpServletRequest httpRequest,
                     javax.servlet.http.HttpServletResponse httpResponse)
              throws java.io.IOException,
                     javax.servlet.ServletException
Deprecated. 
Receives an HTTP GET request from the protected service method and handles the request. The GET method allows a client to read information from the Web server, passing a query string appended to an URL to tell the server what information to return.
Overrides:
doGet in class UIXServlet
Parameters:
httpRequest - an HttpServletRequest object that contains the request the client has made of the servlet
httpResponse - an HttpServletResponse object that contains the response the servlet sends to the object
Throws:
java.io.IOException - if an input or output error is detected when the servlet handles the GET request
javax.servlet.ServletException - if the request for the GET could not be handled

getLastModified

protected long getLastModified(javax.servlet.http.HttpServletRequest httpRequest)
Deprecated. 
Returns the time the HttpServletRequest object was last modified, in milliseconds since midnight January 1, 1970 GMT. If the time is unknown, this method returns a negative number.

Servlet engines that support HTTP GET requests should override getLastModified to provide an accurate object modification time. This makes browser and proxy caches work more effectively, reducing the load on server and network resources.

Overrides:
getLastModified in class UIXServlet
Parameters:
httpRequest - the HttpServletRequest object that is sent to the servlet
Returns:
a long integer specifying the time the HttpServletRequest object was last modified, in milliseconds since midnight, January 1, 1970 GMT, or -1 if the time is not known

createBajaContext

protected BajaContext createBajaContext(javax.servlet.http.HttpServletRequest httpRequest,
                                        javax.servlet.http.HttpServletResponse httpResponse)
Deprecated. 
Creates the BajaContext. Clients can subclass and override this method if they need a different context. The default implementation returns a BaseBajaContext.

Overrides:
createBajaContext in class UIXServlet
See Also:
BaseBajaContext

createPageBrokerHandler

protected PageBrokerHandler createPageBrokerHandler(BajaContext context)
Deprecated. 
Creates the PageBrokerHandler that will be used to process the page.
Overrides:
createPageBrokerHandler in class UIXServlet

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.