@Test public void testGetResource() { ResourceInstance resource = createNiceMock(ResourceInstance.class); Request request = getTestRequest(null, null, null, null, null, null, resource); assertSame(resource, request.getResource()); }
@Override public ResourceInstance getResource() { return m_resource; }
BaseRequest implements Request { @Override public ResourceInstance getResource() { return m_resource; } }
BaseRequest implements Request { @Override public ResourceInstance getResource() { return m_resource; } BaseRequest(HttpHeaders headers, RequestBody body, UriInfo uriInfo, ResourceInstance resource); }
BaseRequest implements Request { @Override public ResourceInstance getResource() { return m_resource; } BaseRequest(HttpHeaders headers, RequestBody body, UriInfo uriInfo, ResourceInstance resource); @Override Result process(); @Override ResourceInstance getResource(); @Override String getURI(); @Override int getAPIVersion(); @Override Predicate getQueryPredicate(); @Override Map<String, TemporalInfo> getFields(); @Override Renderer getRenderer(); @Override Map<String, List<String>> getHttpHeaders(); @Override PageRequest getPageRequest(); @Override RequestBody getBody(); @Override SortRequest getSortRequest(); @Override String getRemoteAddress(); }
BaseRequest implements Request { @Override public ResourceInstance getResource() { return m_resource; } BaseRequest(HttpHeaders headers, RequestBody body, UriInfo uriInfo, ResourceInstance resource); @Override Result process(); @Override ResourceInstance getResource(); @Override String getURI(); @Override int getAPIVersion(); @Override Predicate getQueryPredicate(); @Override Map<String, TemporalInfo> getFields(); @Override Renderer getRenderer(); @Override Map<String, List<String>> getHttpHeaders(); @Override PageRequest getPageRequest(); @Override RequestBody getBody(); @Override SortRequest getSortRequest(); @Override String getRemoteAddress(); static final int DEFAULT_PAGE_SIZE; static final String PAGE_SIZE_PROPERTY_KEY; static final String ASC_ORDER_PROPERTY_KEY; }