org.apache.http.protocol
Class RequestUserAgent

java.lang.Object
  extended by org.apache.http.protocol.RequestUserAgent
All Implemented Interfaces:
HttpRequestInterceptor

public class RequestUserAgent
extends java.lang.Object
implements HttpRequestInterceptor

A request interceptor that adds a User-Agent header.

Since:
4.0
Version:
$Revision: 379761 $
Author:
Oleg Kalnichevski

Constructor Summary
RequestUserAgent()
           
 
Method Summary
 void process(HttpRequest request, HttpContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestUserAgent

public RequestUserAgent()
Method Detail

process

public void process(HttpRequest request,
                    HttpContext context)
             throws HttpException,
                    java.io.IOException
Specified by:
process in interface HttpRequestInterceptor
Throws:
HttpException
java.io.IOException


Copyright 2005-2005-2006 Apache Software Foundation. All Rights Reserved.