org.jclouds.rest.internal
Class RestAnnotationProcessor

java.lang.Object
  extended by org.jclouds.rest.internal.RestAnnotationProcessor
All Implemented Interfaces:
com.google.common.base.Function<Invocation,HttpRequest>

public class RestAnnotationProcessor
extends Object
implements com.google.common.base.Function<Invocation,HttpRequest>

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Method Summary
 GeneratedHttpRequest apply(Invocation invocation)
           
 GeneratedHttpRequest createRequest(com.google.common.reflect.Invokable<?,?> invokable, List<Object> args)
          Deprecated. 
protected  com.google.common.base.Optional<URI> findEndpoint(Invocation invocation)
           
protected  com.google.common.base.Optional<URI> getEndpointFor(Invocation invocation)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Field Detail

logger

protected Logger logger
Method Detail

createRequest

@Deprecated
public GeneratedHttpRequest createRequest(com.google.common.reflect.Invokable<?,?> invokable,
                                                     List<Object> args)
Deprecated. 

Note this is dangerous as it cannot pass the inheriting class! Using this when subclassing interfaces may result in lost data.


apply

public GeneratedHttpRequest apply(Invocation invocation)
Specified by:
apply in interface com.google.common.base.Function<Invocation,HttpRequest>

findEndpoint

protected com.google.common.base.Optional<URI> findEndpoint(Invocation invocation)

getEndpointFor

protected com.google.common.base.Optional<URI> getEndpointFor(Invocation invocation)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 jclouds. All Rights Reserved.