org.apache.lens.server.api.annotations
Annotation Type MultiPurposeResource


@Retention(value=RUNTIME)
public @interface MultiPurposeResource

Sometimes one resource method is used for multiple purposes, that method should be annotated with this annotation. E.g. Single method for running execute/explain/etc for a query.


Required Element Summary
 String formParamName
          The param name in the http request that differentiates the purpose on REST API level
 

Element Detail

formParamName

public abstract String formParamName
The param name in the http request that differentiates the purpose on REST API level



Copyright © 2014–2015 Apache Software Foundation. All rights reserved.