
public class RestConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RestConfiguration.CRUD |
| Modifier and Type | Field and Description |
|---|---|
HashMap<String,RestMethodHandler> |
restHashMap
Associated RestMethod Handlers
|
| Constructor and Description |
|---|
RestConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
HmacSha256 |
getHmacSha256() |
String |
getRestAddress() |
byte[] |
getResthandlersCrud() |
int |
getRestPort() |
long |
getRestTimeLimit() |
void |
initializeKey(File authentKey)
Set Key from file
|
void |
initializeKey(String authentKey)
Set Key from String directly
|
boolean |
isRestAuthenticated() |
boolean |
isRestSignature() |
boolean |
isRestSsl() |
void |
setHmacSha256(HmacSha256 hmacSha256) |
void |
setRestAddress(String restAddress) |
void |
setRestAuthenticated(boolean restAuthenticated) |
void |
setResthandlersCrud(byte[] resthandlersCrud) |
void |
setRestPort(int restPort) |
void |
setRestSignature(boolean restSignature) |
void |
setRestSsl(boolean restSsl) |
void |
setRestTimeLimit(long restTimeLimit) |
String |
toString() |
public final HashMap<String,RestMethodHandler> restHashMap
public final void initializeKey(String authentKey)
authentKey - public final void initializeKey(File authentKey) throws CryptoException, IOException
authentKey - CryptoExceptionIOExceptionpublic final String getRestAddress()
public final void setRestAddress(String restAddress)
restAddress - the restAddress to setpublic final int getRestPort()
public final void setRestPort(int restPort)
restPort - the restPort to setpublic final boolean isRestSsl()
public final void setRestSsl(boolean restSsl)
restSsl - the restSsl to setpublic final long getRestTimeLimit()
public final void setRestTimeLimit(long restTimeLimit)
restTimeLimit - the restTimeLimit to setpublic final boolean isRestAuthenticated()
public final void setRestAuthenticated(boolean restAuthenticated)
restAuthenticated - the restAuthenticated to setpublic final boolean isRestSignature()
public final void setRestSignature(boolean restSignature)
restSignature - the restSignature to setpublic final HmacSha256 getHmacSha256()
public final void setHmacSha256(HmacSha256 hmacSha256)
hmacSha256 - the hmacSha256 to setpublic final byte[] getResthandlersCrud()
public final void setResthandlersCrud(byte[] resthandlersCrud)
resthandlersCrud - the resthandlersCrud to setCopyright © 2009–2022 Waarp. All rights reserved.