com.googlecode.fascinator.portal.services.impl
Class ByteRangeRequestCacheImpl

java.lang.Object
  extended by com.googlecode.fascinator.portal.services.impl.ByteRangeRequestCacheImpl
All Implemented Interfaces:
ByteRangeRequestCache

public class ByteRangeRequestCacheImpl
extends Object
implements ByteRangeRequestCache

Contains the logic required to parse, process and respond to HTTP byte-range requests.

Author:
Greg Pendlebury

Constructor Summary
ByteRangeRequestCacheImpl()
          Basic constructor, run by Tapestry through injection.
 
Method Summary
 boolean processRequest(org.apache.tapestry5.services.Request request, org.apache.tapestry5.services.Response response, Payload payload)
          Access the provided HTTP request for a byte range header and return data from indicated object payload via the provided response object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteRangeRequestCacheImpl

public ByteRangeRequestCacheImpl()
Basic constructor, run by Tapestry through injection.

Method Detail

processRequest

public boolean processRequest(org.apache.tapestry5.services.Request request,
                              org.apache.tapestry5.services.Response response,
                              Payload payload)
Access the provided HTTP request for a byte range header and return data from indicated object payload via the provided response object.

Specified by:
processRequest in interface ByteRangeRequestCache
Parameters:
request: - The incoming HTTP request
response: - The response object waiting for return data
payload: - The payload in the object
Returns:
boolean: True if the request was processed, otherwise False and the request was ignored.


Copyright © 2009-2012. All Rights Reserved.