public class APIApplication extends Object implements com.flipkart.poseidon.api.Application
| Constructor and Description |
|---|
APIApplication(APIManager apiManager,
APILegoSet legoSet) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.net.MediaType |
getDefaultMediaType() |
void |
handleRequest(com.flipkart.poseidon.core.PoseidonRequest request,
com.flipkart.poseidon.core.PoseidonResponse response) |
void |
init(ExecutorService datasourceTPE,
ExecutorService filterTPE) |
public APIApplication(APIManager apiManager, APILegoSet legoSet)
public void init(ExecutorService datasourceTPE, ExecutorService filterTPE)
init in interface com.flipkart.poseidon.api.Applicationpublic void handleRequest(com.flipkart.poseidon.core.PoseidonRequest request,
com.flipkart.poseidon.core.PoseidonResponse response)
throws flipkart.lego.api.exceptions.ElementNotFoundException,
flipkart.lego.api.exceptions.BadRequestException,
flipkart.lego.api.exceptions.ProcessingException,
flipkart.lego.api.exceptions.InternalErrorException
handleRequest in interface com.flipkart.poseidon.api.Applicationflipkart.lego.api.exceptions.ElementNotFoundExceptionflipkart.lego.api.exceptions.BadRequestExceptionflipkart.lego.api.exceptions.ProcessingExceptionflipkart.lego.api.exceptions.InternalErrorExceptionpublic com.google.common.net.MediaType getDefaultMediaType()
getDefaultMediaType in interface com.flipkart.poseidon.api.ApplicationCopyright © 2016. All rights reserved.