public class FollowResourceHandler extends DefaultResourceHandler<CreateFollowParameter,DefaultParameter,DeleteFollowParameter,DefaultParameter,GetCollectionFollowParameter>
| Constructor and Description |
|---|
FollowResourceHandler() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
handleCreateInternally(CreateFollowParameter createFollowParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to set user follow
|
javax.ws.rs.core.Response |
handleDeleteInternally(DeleteFollowParameter deleteFollowParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to delete follow of user
|
javax.ws.rs.core.Response |
handleListInternally(GetCollectionFollowParameter getCollectionFollowParameter,
String requestedMimeType,
javax.ws.rs.core.UriInfo uriInfo,
String requestSessionId,
javax.ws.rs.core.Request request)
Request to get user follow
|
handleEditInternally, handleGetInternallyhandleCreate, handleDelete, handleEdit, handleGet, handleList, setValidatorpublic javax.ws.rs.core.Response handleCreateInternally(CreateFollowParameter createFollowParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String requestSessionId, javax.ws.rs.core.Request request) throws NotFoundException, ResponseBuildException, ExtensionNotSupportedException
handleCreateInternally in class DefaultResourceHandler<CreateFollowParameter,DefaultParameter,DeleteFollowParameter,DefaultParameter,GetCollectionFollowParameter>createFollowParameter - - an object that contains all the parameter that can or have to be used for such a
requestrequestedMimeType - - is the mime type that indicates which data exchange format to useuriInfo - - this object is created by the request and contains some request specific datarequestSessionId - - The sessionId for the sessionrequest - - javax requestNotFoundException - user was not foundResponseBuildException - exception while building the responseExtensionNotSupportedException - extension is not supportedpublic javax.ws.rs.core.Response handleDeleteInternally(DeleteFollowParameter deleteFollowParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String requestSessionId, javax.ws.rs.core.Request request) throws NotFoundException, ResponseBuildException, ExtensionNotSupportedException
handleDeleteInternally in class DefaultResourceHandler<CreateFollowParameter,DefaultParameter,DeleteFollowParameter,DefaultParameter,GetCollectionFollowParameter>deleteFollowParameter - - an object that contains all the parameter that can or have to be used for such a
requestrequestedMimeType - - is the mime type that indicates which data exchange format to useuriInfo - - this object is created by the request and contains some request specific datarequestSessionId - - The sessionId for the sessionrequest - - javax requestNotFoundException - user was not foundResponseBuildException - exception while building the responseExtensionNotSupportedException - extension is not supportedpublic javax.ws.rs.core.Response handleListInternally(GetCollectionFollowParameter getCollectionFollowParameter, String requestedMimeType, javax.ws.rs.core.UriInfo uriInfo, String requestSessionId, javax.ws.rs.core.Request request) throws ResponseBuildException, ExtensionNotSupportedException
handleListInternally in class DefaultResourceHandler<CreateFollowParameter,DefaultParameter,DeleteFollowParameter,DefaultParameter,GetCollectionFollowParameter>getCollectionFollowParameter - - an object that contains all the parameter that can or have to be used for such a
requestrequestedMimeType - - is the mime type that indicates which data exchange format to useuriInfo - - this object is created by the request and contains some request specific datarequestSessionId - - The sessionId for the sessionrequest - - javax requestFollowResourceResponseBuildException - exception while building the responseExtensionNotSupportedException - extension is not supportedCopyright © 2019 Communote team. All rights reserved.