Package eos.processor
Class EndpointProcessor
- java.lang.Object
-
- eos.processor.EndpointProcessor
-
public class EndpointProcessor extends Object
-
-
Constructor Summary
Constructors Constructor Description EndpointProcessor(Eos.Cache cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointMappingsgetMappings()EndpointProcessorrun()protected voidsetBaseDetailsAdd(String path, EndpointMapping mapping, Method method, ObjectDetails objectDetails)protected voidsetDeleteMapping(Method method, ObjectDetails objectDetails)protected voidsetGetMapping(Method method, ObjectDetails objectDetails)protected voidsetPostMapping(Method method, ObjectDetails objectDetails)protected voidsetPutMapping(Method method, ObjectDetails objectDetails)
-
-
-
Field Detail
-
GET
public static final String GET
- See Also:
- Constant Field Values
-
POST
public static final String POST
- See Also:
- Constant Field Values
-
PUT
public static final String PUT
- See Also:
- Constant Field Values
-
DELETE
public static final String DELETE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EndpointProcessor
public EndpointProcessor(Eos.Cache cache)
-
-
Method Detail
-
run
public EndpointProcessor run() throws Exception
- Throws:
Exception
-
setGetMapping
protected void setGetMapping(Method method, ObjectDetails objectDetails) throws Exception
- Throws:
Exception
-
setPostMapping
protected void setPostMapping(Method method, ObjectDetails objectDetails) throws Exception
- Throws:
Exception
-
setPutMapping
protected void setPutMapping(Method method, ObjectDetails objectDetails) throws Exception
- Throws:
Exception
-
setDeleteMapping
protected void setDeleteMapping(Method method, ObjectDetails objectDetails) throws Exception
- Throws:
Exception
-
setBaseDetailsAdd
protected void setBaseDetailsAdd(String path, EndpointMapping mapping, Method method, ObjectDetails objectDetails) throws Exception
- Throws:
Exception
-
getMappings
public EndpointMappings getMappings()
-
-