cz.geek.cloudmailin
Class AbstractCloudMailinController
java.lang.Object
cz.geek.cloudmailin.AbstractCloudMailinController
public abstract class AbstractCloudMailinController
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCloudMailinController
public AbstractCloudMailinController()
setSecret
public void setSecret(String secret)
setValidate
public void setValidate(boolean validate)
post
@RequestMapping(method=POST)
public org.springframework.http.ResponseEntity<String> post(@ModelAttribute
CloudMailin data,
org.springframework.web.context.request.WebRequest req)
get
@RequestMapping
public void get(javax.servlet.http.HttpServletResponse resp)
throws IOException
- Throws:
IOException
model
@ModelAttribute
protected CloudMailin model()
handle
protected abstract org.springframework.http.ResponseEntity<String> handle(CloudMailin data)
- This method should return eg.
new ResponseEntity<String>(HttpStatus.OK)
- Parameters:
data - request data
- Returns:
- response
validate
protected boolean validate()
validate
protected void validate(org.springframework.web.context.request.WebRequest req)
Copyright © 2011. All Rights Reserved.