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