You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Pankaj Arora <pa...@castiron.com> on 2008/05/20 01:35:58 UTC

SEARCH Method

Hi,
As per Http 1.1 specifications

5.1.1 Method

The Method token indicates the method to be performed on the resource
identified by the Request-URI. The method is case-sensitive.

       Method         = "OPTIONS"                ; Section 9.2
                      | "GET"                    ; Section 9.3
                      | "HEAD"                   ; Section 9.4
                      | "POST"                   ; Section 9.5
                      | "PUT"                    ; Section 9.6
                      | "DELETE"                 ; Section 9.7
                      | "TRACE"                  ; Section 9.8
                      | "CONNECT"                ; Section 9.9
                      | extension-method
       extension-method = token


I am trying to support method SEARCH method which is used to communicate
with Microsoft exchange server 2003 . How can I support it using http
Client? Can you provide me some example of supporting extension methods?

Thanks,
Pankaj Arora

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: SEARCH Method

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Mon, 2008-05-19 at 16:35 -0700, Pankaj Arora wrote:
> Hi,
> As per Http 1.1 specifications
> 
> 5.1.1 Method
> 
> The Method token indicates the method to be performed on the resource
> identified by the Request-URI. The method is case-sensitive.
> 
>        Method         = "OPTIONS"                ; Section 9.2
>                       | "GET"                    ; Section 9.3
>                       | "HEAD"                   ; Section 9.4
>                       | "POST"                   ; Section 9.5
>                       | "PUT"                    ; Section 9.6
>                       | "DELETE"                 ; Section 9.7
>                       | "TRACE"                  ; Section 9.8
>                       | "CONNECT"                ; Section 9.9
>                       | extension-method
>        extension-method = token
> 
> 
> I am trying to support method SEARCH method which is used to communicate
> with Microsoft exchange server 2003 . How can I support it using http
> Client? Can you provide me some example of supporting extension methods?
> 

For HttpClient 3.x

http://hc.apache.org/httpclient-3.x/xref/org/apache/commons/httpclient/methods/GetMethod.html

For HttpClient 4.x

http://hc.apache.org/httpcomponents-client/httpclient/xref/org/apache/http/client/methods/HttpGet.html

Oleg


> Thanks,
> Pankaj Arora
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org