com.limegroup.gnutella.http
Class AltLocHeaderInterceptor
java.lang.Object
com.limegroup.gnutella.http.AltLocHeaderInterceptor
- All Implemented Interfaces:
- HeaderInterceptor
public class AltLocHeaderInterceptor
- extends Object
- implements HeaderInterceptor
Processes alternate location headers from an HttpRequest and updates
a corresponding HTTPUploader.
|
Method Summary |
void |
process(org.apache.http.Header header,
org.apache.http.protocol.HttpContext context)
Processes a header. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AltLocHeaderInterceptor
public AltLocHeaderInterceptor(HTTPUploader uploader,
AltLocManager altLocManager,
AlternateLocationFactory alternateLocationFactory)
process
public void process(org.apache.http.Header header,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException,
IOException
- Description copied from interface:
HeaderInterceptor
- Processes a header.
- Specified by:
process in interface HeaderInterceptor
- Parameters:
header - the header to processcontext - the context of the request or response header belongs to
- Throws:
org.apache.http.HttpException - thrown when a processing error occurs
IOException - thrown when a processing error occurs
Copyright © 2009. All Rights Reserved.