org.mule.api.annotations.rest
Annotation Type RestCall


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface RestCall


Required Element Summary
 String uri
           
 
Optional Element Summary
 String contentType
           
 RestExceptionOn[] exceptions
           
 HttpMethod method
           
 

Element Detail

uri

public abstract String uri

contentType

public abstract String contentType
Default:
"*/*"

method

public abstract HttpMethod method
Default:
org.mule.api.annotations.rest.HttpMethod.GET

exceptions

public abstract RestExceptionOn[] exceptions
Default:
{}


Copyright © 2010–2013 MuleSoft, Inc.. All rights reserved.