public class MethodMappingInfo extends Object implements IMimeTypeResolver
MethodMapping
). These informations are used at runtime to select the most suited method
to serve the current request.Constructor and Description |
---|
MethodMappingInfo(MethodMapping methodMapped,
Method method)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
Map<Class<? extends Annotation>,List<MethodParameter<?>>> |
getAnnotatedMethodParameters()
Gets the method parameters stored by annotation.
|
HttpMethod |
getHttpMethod()
Gets the HTTP method.
|
String |
getInputFormat()
Gets the mime input format.
|
Method |
getMethod()
Gets the relative class method.
|
List<MethodParameter<?>> |
getMethodParameters()
Gets the method parameters.
|
String |
getOutputFormat()
Gets the mime output format.
|
org.apache.wicket.authroles.authorization.strategies.role.Roles |
getRoles()
Gets the optional authorization roles for this method.
|
List<AbstractURLSegment> |
getSegments()
Gets the segments of the mapped URL.
|
int |
getSegmentsCount()
Gets the segments count.
|
public MethodMappingInfo(MethodMapping methodMapped, Method method)
methodMapped
- the method mappedmethod
- the resource's method mapped.public List<AbstractURLSegment> getSegments()
public int getSegmentsCount()
public HttpMethod getHttpMethod()
public Method getMethod()
public org.apache.wicket.authroles.authorization.strategies.role.Roles getRoles()
public String getInputFormat()
getInputFormat
in interface IMimeTypeResolver
public String getOutputFormat()
getOutputFormat
in interface IMimeTypeResolver
public List<MethodParameter<?>> getMethodParameters()
public Map<Class<? extends Annotation>,List<MethodParameter<?>>> getAnnotatedMethodParameters()
Copyright © 2015. All rights reserved.