Package net.officefloor.web
Class HttpHeaderParameterAnnotation
- java.lang.Object
-
- net.officefloor.web.HttpHeaderParameterAnnotation
-
- All Implemented Interfaces:
HttpParameterAnnotation
public class HttpHeaderParameterAnnotation extends java.lang.Object implements HttpParameterAnnotation
HttpHeaderParameter
annotation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description HttpHeaderParameterAnnotation(java.lang.String parameterName)
Instantiate.HttpHeaderParameterAnnotation(HttpHeaderParameter 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
-
HttpHeaderParameterAnnotation
public HttpHeaderParameterAnnotation(HttpHeaderParameter annotation)
Instantiate.- Parameters:
annotation
-HttpHeaderParameter
.
-
HttpHeaderParameterAnnotation
public HttpHeaderParameterAnnotation(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.
-
-