Package com.linkedin.restli.common

Examples of com.linkedin.restli.common.ResourceSpecImpl


    Map<String, DynamicRecordMetadata> actionRequestMetadata = actionCollectionMetadata._request;
    Map<String, DynamicRecordMetadata> actionResponseMetadata = actionCollectionMetadata._response;
    DataSchema entitySchema = entitySchemaString == null ? null : RestSpecCodec.textToSchema(entitySchemaString, _schemaResolver);
    TypeSpec<? extends RecordTemplate> value = toValueType(entitySchema);

    return new ResourceSpecImpl(supportedMethods,
                                actionRequestMetadata,
                                actionResponseMetadata,
                                key, complexKeyType,
                                value,
                                keyParts);
View Full Code Here


    URI uri = new URI("greetings/1");
    ResourceMethod method = ResourceMethod.GET;
    RecordTemplate inputRecord = null;
    Map<String, String> headers = Collections.emptyMap();
    RestResponseDecoder<Greeting> decoder = new EntityResponseDecoder<Greeting>(Greeting.class);
    ResourceSpec resourceSpec = new ResourceSpecImpl(EnumSet.of(method),
                                                     null,
                                                     null,
                                                     Long.class,
                                                     Greeting.class,
                                                     Collections.<String, Object>emptyMap());
View Full Code Here

TOP

Related Classes of com.linkedin.restli.common.ResourceSpecImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.