Sha256: c9f4858a709b73ec2e49e94836ad90f29dcebe1d05e46244acb63cf5aaedc261

Contents?: true

Size: 602 Bytes

Versions: 4

Compression:

Stored size: 602 Bytes

Contents

package <%= restservices_package %>;

import javax.ws.rs.DELETE;
import javax.ws.rs.POST;
import javax.ws.rs.Path;

import <%= models_package %>.User;

import org.fusesource.restygwt.client.MethodCallback;
import org.fusesource.restygwt.client.RestService;

import <%= gwt_rails_session_package %>.Authentication;
import <%= gwt_rails_session_package %>.Session;

@Path("/session")
public interface SessionRestService extends RestService {

    @POST
    void create(Authentication authentication, MethodCallback<Session<User>> callback);

    @DELETE
    void destroy(MethodCallback<Void> callback);
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
resty-generators-0.3.3 lib/generators/resty/setup/templates/SessionRestService.java
resty-generators-0.3.2 lib/generators/resty/setup/templates/SessionRestService.java
resty-generators-0.3.1 lib/generators/resty/setup/templates/SessionRestService.java
resty-generators-0.3.0 lib/generators/resty/setup/templates/SessionRestService.java