Arquillian REST Client Extension: Implementation base 1.0.0.Final-SNAPSHOT

org.jboss.arquillian.extension.rest.client
Class BaseRestEnricher

java.lang.Object
  extended by org.jboss.arquillian.extension.rest.client.BaseRestEnricher
All Implemented Interfaces:
org.jboss.arquillian.test.spi.TestEnricher

public abstract class BaseRestEnricher
extends Object
implements org.jboss.arquillian.test.spi.TestEnricher


Constructor Summary
BaseRestEnricher()
           
 
Method Summary
protected  boolean allInSameContext(List<org.jboss.arquillian.container.spi.client.protocol.metadata.Servlet> servlets)
           
 void enrich(Object testCase)
           
protected abstract  Object enrichByType(Class<?> clazz, Method method, ArquillianResteasyResource annotation, javax.ws.rs.Consumes consumes, javax.ws.rs.Produces produces)
           
protected  URI getBaseURL()
           
protected  Map<String,String> getHeaders(AnnotatedElement annotatedElement)
           
protected  Map<String,String> getHeaders(Class<?> clazz, Method method)
           
protected abstract  boolean isSupportedParameter(Class<?> clazz)
           
 Object[] resolve(Method method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseRestEnricher

public BaseRestEnricher()
Method Detail

enrich

public void enrich(Object testCase)
Specified by:
enrich in interface org.jboss.arquillian.test.spi.TestEnricher

resolve

public Object[] resolve(Method method)
Specified by:
resolve in interface org.jboss.arquillian.test.spi.TestEnricher

allInSameContext

protected boolean allInSameContext(List<org.jboss.arquillian.container.spi.client.protocol.metadata.Servlet> servlets)

enrichByType

protected abstract Object enrichByType(Class<?> clazz,
                                       Method method,
                                       ArquillianResteasyResource annotation,
                                       javax.ws.rs.Consumes consumes,
                                       javax.ws.rs.Produces produces)

getBaseURL

protected URI getBaseURL()

getHeaders

protected Map<String,String> getHeaders(Class<?> clazz,
                                        Method method)

getHeaders

protected Map<String,String> getHeaders(AnnotatedElement annotatedElement)

isSupportedParameter

protected abstract boolean isSupportedParameter(Class<?> clazz)

Arquillian REST Client Extension: Implementation base 1.0.0.Final-SNAPSHOT

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.