Package com.h2tcoin.takamakachain.api
Class Route
- java.lang.Object
-
- com.h2tcoin.takamakachain.api.Route
-
- All Implemented Interfaces:
Code
- Direct Known Subclasses:
AcceptedBetsApi,AssignOverflowApi,AvatarApi,BalanceOfApi,BlockchainSettings,BlockDownloadApi,BlockSearchApi,CashbackAddress,GetBlockApi,ListBlocksApi,ListNodesApi,ListTransactionsApi,ListTransactionsESApi,MainListApi,RegisterBookmarkApi,RegisterMainApi,RegisterOverflowApi,SearchTransactionsESApi,StakeApi,StakeUndoApi,TransactionApi,VerifyTransaction
public abstract class Route extends Object implements Code
- Author:
- francesco.pasetto@h2tcoin.com
-
-
Constructor Summary
Constructors Constructor Description Route()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Stringcode(HttpExchange he)voidexchange(HttpExchange he)StringgetAllowed_methods()StringgetUrl()voidsetAllowed_methods(String... methods)voidsetUrl(String url)
-
-
-
Method Detail
-
setAllowed_methods
public void setAllowed_methods(String... methods)
-
getAllowed_methods
public String getAllowed_methods()
-
code
public abstract String code(HttpExchange he)
-
exchange
public void exchange(HttpExchange he) throws IOException
- Throws:
IOException
-
-