org.eclipse.swordfish.internal.resolver.backend.base.impl
Class ClientRequestImpl

java.lang.Object
  extended by org.eclipse.swordfish.internal.resolver.backend.base.impl.ClientRequestImpl
All Implemented Interfaces:
ClientRequest

public class ClientRequestImpl
extends java.lang.Object
implements ClientRequest


Constructor Summary
ClientRequestImpl()
           
 
Method Summary
 java.lang.Object getEntity()
           
 java.lang.Class<?> getEntityType()
           
 ProxyConstants.Method getMethod()
          Get the method used to invoke remote service.
 java.util.Map<java.lang.String,java.lang.String> getProperties()
          Get properties for the request.
 java.net.URI getURI()
          Get the URI (absolute or relative) of remote service.
 void setEntity(java.lang.Object entity)
           
 void setEntityType(java.lang.Class<?> entityType)
           
 void setMethod(ProxyConstants.Method method)
          Set the method used to invoke remote service.
 void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
          Set properties for the request.
 void setURI(java.net.URI uri)
          Set the URI of remote service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientRequestImpl

public ClientRequestImpl()
Method Detail

getEntity

public java.lang.Object getEntity()
Specified by:
getEntity in interface ClientRequest

setEntity

public void setEntity(java.lang.Object entity)
Specified by:
setEntity in interface ClientRequest

getEntityType

public java.lang.Class<?> getEntityType()
Specified by:
getEntityType in interface ClientRequest

setEntityType

public void setEntityType(java.lang.Class<?> entityType)
Specified by:
setEntityType in interface ClientRequest

getMethod

public ProxyConstants.Method getMethod()
Description copied from interface: ClientRequest
Get the method used to invoke remote service.

Specified by:
getMethod in interface ClientRequest
Returns:
a ProxyConstants.Method constant representing a HTTP method.

setMethod

public void setMethod(ProxyConstants.Method method)
Description copied from interface: ClientRequest
Set the method used to invoke remote service.

Specified by:
setMethod in interface ClientRequest

getProperties

public java.util.Map<java.lang.String,java.lang.String> getProperties()
Description copied from interface: ClientRequest
Get properties for the request.

Specified by:
getProperties in interface ClientRequest
Returns:
a Map containing request specific properties.

setProperties

public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Description copied from interface: ClientRequest
Set properties for the request.

Specified by:
setProperties in interface ClientRequest

getURI

public java.net.URI getURI()
Description copied from interface: ClientRequest
Get the URI (absolute or relative) of remote service.

Specified by:
getURI in interface ClientRequest
Returns:
a URL of a service.

setURI

public void setURI(java.net.URI uri)
Description copied from interface: ClientRequest
Set the URI of remote service.

Specified by:
setURI in interface ClientRequest