Package net.officefloor.web
Class HttpQueryParameterAnnotation
- java.lang.Object
-
- net.officefloor.web.HttpQueryParameterAnnotation
-
- All Implemented Interfaces:
HttpParameterAnnotation
public class HttpQueryParameterAnnotation extends java.lang.Object implements HttpParameterAnnotation
HttpQueryParameter
annotation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description HttpQueryParameterAnnotation(java.lang.String parameterName)
Instantiate.HttpQueryParameterAnnotation(HttpQueryParameter annotation)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getParameterName()
Obtains the name to extract the parameter value.java.lang.String
getQualifier()
Obtains the qualifier.
-
-
-
Constructor Detail
-
HttpQueryParameterAnnotation
public HttpQueryParameterAnnotation(HttpQueryParameter annotation)
Instantiate.- Parameters:
annotation
-HttpQueryParameter
.
-
HttpQueryParameterAnnotation
public HttpQueryParameterAnnotation(java.lang.String parameterName)
Instantiate.- Parameters:
parameterName
- Name to extract the parameter value.
-
-
Method Detail
-
getParameterName
public java.lang.String getParameterName()
Description copied from interface:HttpParameterAnnotation
Obtains the name to extract the parameter value.- Specified by:
getParameterName
in interfaceHttpParameterAnnotation
- Returns:
- Name to extract the parameter value.
-
getQualifier
public java.lang.String getQualifier()
Description copied from interface:HttpParameterAnnotation
Obtains the qualifier.- Specified by:
getQualifier
in interfaceHttpParameterAnnotation
- Returns:
- Qualifier.
-
-