com.sun.jersey.api.client
Class ClientRequest.Builder
java.lang.Object
com.sun.jersey.api.client.PartialRequestBuilder<ClientRequest.Builder>
com.sun.jersey.api.client.ClientRequest.Builder
- All Implemented Interfaces:
- RequestBuilder<ClientRequest.Builder>
- Enclosing class:
- ClientRequest
public static final class ClientRequest.Builder
- extends PartialRequestBuilder<ClientRequest.Builder>
The builder for building a ClientRequest
instance.
Methods inherited from class com.sun.jersey.api.client.PartialRequestBuilder |
accept, accept, acceptLanguage, acceptLanguage, cookie, entity, entity, entity, header, type, type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientRequest.Builder
public ClientRequest.Builder()
build
public ClientRequest build(URI uri,
String method)
- Build the
ClientRequest
instance.
- Parameters:
uri
- the URI of the request.method
- the HTTP method.
- Returns:
- the client request.
Copyright © 2011 Oracle Corporation. All Rights Reserved.