Package jadex.publishservice.impl
Class RequestManager.MappingInfo
java.lang.Object
jadex.publishservice.impl.RequestManager.MappingInfo
- Enclosing class:
RequestManager
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected RequestManager.MappingInfo.HttpMethod
The http method.protected Method
The target method.protected String
The url path. -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new mapping info.MappingInfo
(RequestManager.MappingInfo.HttpMethod httpMethod, Method method, String path) Create a new mapping info. -
Method Summary
Modifier and TypeMethodDescriptionGet the consumed media types.Get the httpMethod.Get the method.Get the declared parameter names (via annotation ParameterInfo).getPath()
Get the path.Get the produced media types.boolean
isEmpty()
Test if has no settings.void
setHttpMethod
(RequestManager.MappingInfo.HttpMethod httpMethod) Set the httpMethod.void
Set the method.void
Set the path.
-
Field Details
-
httpmethod
The http method. -
method
The target method. -
path
The url path.
-
-
Constructor Details
-
MappingInfo
public MappingInfo()Create a new mapping info. -
MappingInfo
Create a new mapping info.
-
-
Method Details
-
getHttpMethod
Get the httpMethod.- Returns:
- The httpMethod
-
setHttpMethod
Set the httpMethod.- Parameters:
httpMethod
- The httpMethod to set
-
getMethod
Get the method.- Returns:
- The method
-
setMethod
Set the method.- Parameters:
method
- The method to set
-
getPath
Get the path.- Returns:
- The path
-
setPath
Set the path.- Parameters:
path
- The path to set
-
isEmpty
public boolean isEmpty()Test if has no settings. -
getParameterNames
Get the declared parameter names (via annotation ParameterInfo).- Returns:
- The parameter names.
-
getConsumedMediaTypes
Get the consumed media types.- Returns:
- The types.
-
getProducedMediaTypes
Get the produced media types.- Returns:
- The types.
-