Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jreceiver.client.rio.servlet
Class RioHostLayout  view RioHostLayout download RioHostLayout.java

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byjreceiver.client.rio.servlet.RioHostBase
              extended byjreceiver.client.rio.servlet.RioHostLayout
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RioHostLayout
extends RioHostBase

Servlet answering 'layout' requests from Rio Server.

I18N this class

Return localized text strings describing what to put on the Rio Receiver display.

The URL looks like this http://.../layout/en_UK/index

where en_UK is the locale for which strings are requested.

The response looks like this:

/layout/en_UK/all_info=All Info *SUPPORTED* /layout/en_UK/remaining=Remaining Time /layout/en_UK/scope=Scope View /layout/en_UK/inverse_scope=Inverse Scope /layout/en_UK/big_title=Big Title

Version:
$Revision: 1.4 $ $Date: 2002/12/29 00:44:07 $

Field Summary
protected static long[] layout_all_info
           
protected static long[] layout_big_title
           
protected static long[] layout_data
           
protected static long[] layout_inverse_scope
           
protected static long[] layout_remaining
           
protected static long[] layout_scope
           
protected static long[] layout_test
           
protected static long[] layout_with_volume
           
 
Fields inherited from class jreceiver.client.rio.servlet.RioHostBase
log
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Fields inherited from class javax.servlet.GenericServlet
 
Constructor Summary
RioHostLayout()
           
 
Method Summary
protected  void handleRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, int src_id)
          subclasses must define this
protected  boolean requireMfileId()
          DON'T implicitly fail if no src_id is provided in the * query
 
Methods inherited from class jreceiver.client.rio.servlet.RioHostBase
doGet, init
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, 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
 

Field Detail

layout_data

protected static long[] layout_data

layout_with_volume

protected static long[] layout_with_volume

layout_all_info

protected static long[] layout_all_info

layout_remaining

protected static long[] layout_remaining

layout_big_title

protected static long[] layout_big_title

layout_scope

protected static long[] layout_scope

layout_inverse_scope

protected static long[] layout_inverse_scope

layout_test

protected static long[] layout_test
Constructor Detail

RioHostLayout

public RioHostLayout()
Method Detail

handleRequest

protected void handleRequest(javax.servlet.http.HttpServletRequest req,
                             javax.servlet.http.HttpServletResponse resp,
                             int src_id)
                      throws javax.servlet.ServletException,
                             java.io.IOException,
                             jreceiver.common.rpc.RpcException
Description copied from class: RioHostBase
subclasses must define this

Specified by:
handleRequest in class RioHostBase

requireMfileId

protected boolean requireMfileId()
DON'T implicitly fail if no src_id is provided in the * query

Specified by:
requireMfileId in class RioHostBase