Package net.officefloor.web.rest.build
Interface RestMethod
- All Known Implementing Classes:
RestMethodImpl
public interface RestMethod
REST supported
HttpMethod.-
Method Summary
Modifier and TypeMethodDescriptionObtains theHttpInput.Obtains theHttpMethod.<M> MgetMomento(MomentoKey<M> key) Obtains the Momento for theMomentoKey.Obtains theOfficeSectionInputto service theRestMethod.booleanisSecure()Indicates if theRestMethodis secure (e.g.
-
Method Details
-
isSecure
boolean isSecure()Indicates if theRestMethodis secure (e.g. HTTPS).- Returns:
trueifRestMethodis secure.
-
getHttpMethod
HttpMethod getHttpMethod()Obtains theHttpMethod.- Returns:
HttpMethod.
-
getHttpInput
HttpInput getHttpInput()Obtains theHttpInput.- Returns:
HttpInput.
-
getServiceInput
OfficeSectionInput getServiceInput()Obtains theOfficeSectionInputto service theRestMethod.- Returns:
OfficeSectionInputto service theRestMethod.
-
getMomento
Obtains the Momento for theMomentoKey.- Type Parameters:
M- Type of Momento.- Parameters:
key-MomentoKey.- Returns:
- Momento or
nullif no Momento specified by the respectiveRestMethodDecorator.
-