com.googlecode.fascinator.portal.services.impl
Class ByteRangeRequestCacheImpl
java.lang.Object
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
|
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 |
ByteRangeRequestCacheImpl
public ByteRangeRequestCacheImpl()
- Basic constructor, run by Tapestry through injection.
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 requestresponse: - The response object waiting for return datapayload: - The payload in the object
- Returns:
- boolean: True if the request was processed, otherwise False
and the request was ignored.
Copyright © 2009-2014. All Rights Reserved.