Tabnine Logo
ResourceModel.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.cedj.geekseek.web.rest.core.annotation.ResourceModel
constructor

Best Java code snippets using org.cedj.geekseek.web.rest.core.annotation.ResourceModel.<init> (Showing top 11 results out of 315)

origin: arquillian/continuous-enterprise-development

@ResourceModel
@Path("/attachment")
public class AttachmentResource extends RepositoryResource<Attachment, AttachmentRepresentation>
  implements MetadataResource {

  public static final String ATTACHMENT_XML_MEDIA_TYPE = BASE_XML_MEDIA_TYPE + "; type=attachment";
  public static final String ATTACHMENT_JSON_MEDIA_TYPE = BASE_JSON_MEDIA_TYPE + "; type=attachment";

  public AttachmentResource() {
    super(AttachmentResource.class, Attachment.class, AttachmentRepresentation.class);
  }

  @Override
  public String getResourceMediaType() {
    return ATTACHMENT_XML_MEDIA_TYPE;
  }

  @Override
  protected String[] getMediaTypes() {
    return new String[]{ATTACHMENT_XML_MEDIA_TYPE, ATTACHMENT_JSON_MEDIA_TYPE};
  }

  @Override
  public ResourceMetadata getResourceMetadata() {
    return new ResourceMetadata(Attachment.class)
      .incoming(new Relation("attached_to"));
  }
}
origin: arquillian/continuous-enterprise-development

@ResourceModel
@Path("/user")
public class UserResource extends RepositoryResource<User, UserRepresentation> implements MetadataResource {
origin: arquillian/continuous-enterprise-development

@ResourceModel
@Path("/session")
public class SessionResource extends RepositoryResource<Session, SessionRepresentation> implements MetadataResource {
origin: arquillian/continuous-enterprise-development

@Path("/bookmark")
@ResourceModel
public class BookmarkResource {
origin: arquillian/continuous-enterprise-development

@ResourceModel
@Path("/")
public class RootResource {
origin: arquillian/continuous-enterprise-development

@ResourceModel
@Path("target")
public class TargetResource implements MetadataResource {

  @Override
  public ResourceMetadata getResourceMetadata() {
    return new ResourceMetadata(TargetObject.class)
      .incoming(new Relation("connected_to"));
  }

}

origin: arquillian/continuous-enterprise-development

@ResourceModel
@Path("/security/whoami")
public class WhoAmIResource implements TopLevelResource {
origin: arquillian/continuous-enterprise-development

@ResourceModel
@Path("/conference")
public class ConferenceResource extends RepositoryResource<Conference, ConferenceRepresentation>
origin: arquillian/continuous-enterprise-development

@ResourceModel
@Path("test")
public class TestResource {
origin: arquillian/continuous-enterprise-development

@ResourceModel
@Path("source")
public class SourceResource implements MetadataResource {
origin: arquillian/continuous-enterprise-development

@ResourceModel
@Path("/test")
public class TestResource implements TopLevelResource {
org.cedj.geekseek.web.rest.core.annotationResourceModel<init>

Popular methods of ResourceModel

    Popular in Java

    • Making http requests using okhttp
    • getSharedPreferences (Context)
    • onCreateOptionsMenu (Activity)
    • onRequestPermissionsResult (Fragment)
    • FileInputStream (java.io)
      An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
    • FileReader (java.io)
      A specialized Reader that reads from a file in the file system. All read requests made by calling me
    • InputStream (java.io)
      A readable source of bytes.Most clients will use input streams that read data from the file system (
    • LinkedList (java.util)
      Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
    • Semaphore (java.util.concurrent)
      A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
    • Pattern (java.util.regex)
      Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
    • Top Sublime Text plugins
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now