|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.ws.rest.api.client.ClientRequest
public abstract class ClientRequest
A client (outbound) HTTP request.
Instances may be created by using the static method create()
and
methods on ClientRequest.Builder
.
Nested Class Summary | |
---|---|
static class |
ClientRequest.Builder
The builder for building a ClientRequest instance. |
Constructor Summary | |
---|---|
ClientRequest()
|
Method Summary | |
---|---|
abstract ClientRequest |
clone()
Clone the request. |
static ClientRequest.Builder |
create()
Create a builder for building a new ClientRequest instance. |
abstract java.lang.Object |
getEntity()
Get the entity of the request. |
abstract javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> |
getMetadata()
Get the HTTP headers of the request. |
abstract java.lang.String |
getMethod()
Get the HTTP method. |
abstract java.net.URI |
getURI()
Get the URI of the request. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientRequest()
Method Detail |
---|
public abstract java.net.URI getURI()
public abstract java.lang.String getMethod()
public abstract java.lang.Object getEntity()
public abstract javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> getMetadata()
public abstract ClientRequest clone()
clone
in class java.lang.Object
public static final ClientRequest.Builder create()
ClientRequest
instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |