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.HttpMethodThe http method.protected MethodThe target method.protected StringThe 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.booleanisEmpty()Test if has no settings.voidsetHttpMethod(RequestManager.MappingInfo.HttpMethod httpMethod) Set the httpMethod.voidSet the method.voidSet 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.
-