Examples of RequestImpl


Examples of com.eclipsesource.restfuse.internal.RequestImpl

  }

  private Request createRequest( HttpServletRequest req ) {
    MediaType mediaType = MediaType.fromString( req.getContentType() );
    String body = getBody( req );
    RequestImpl result = new RequestImpl( body, mediaType );
    addHeaderToRequest( req, result );
    return result;
  }
View Full Code Here

Examples of com.factual.driver.Factual.RequestImpl

  private void parseResponse(JSONObject jo) throws JSONException {
    data.clear();
    for (Entry<String, RequestImpl> entry : requestMapping.entrySet()) {
      String responseJson = jo.getJSONObject(entry.getKey()).toString();
      RequestImpl query = entry.getValue();
      InternalResponse internalResp = new InternalResponse(responseJson);
      Response resp = query.getResponse(internalResp);
      if (resp != null)
        data.put(entry.getKey(), resp);
    }
  }
View Full Code Here

Examples of com.sun.corba.se.impl.corba.RequestImpl

        return h;
    }

    public Request request(org.omg.CORBA.Object obj, String operation)
    {
        return new RequestImpl(orb, obj, null, operation, null, null, null,
                               null);
    }
View Full Code Here

Examples of com.sun.corba.se.impl.corba.RequestImpl

                                  Context ctx,
                                  String operation,
                                  NVList arg_list,
                                  NamedValue result)
    {
        return new RequestImpl(orb, obj, ctx, operation, arg_list,
                               result, null, null);
    }
View Full Code Here

Examples of com.sun.corba.se.impl.corba.RequestImpl

                                  NVList arg_list,
                                  NamedValue result,
                                  ExceptionList exclist,
                                  ContextList ctxlist)
    {
        return new RequestImpl(orb, obj, ctx, operation, arg_list, result,
                               exclist, ctxlist);
    }
View Full Code Here

Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * @param properties             resource properties associated with the request; may be null
   * @param requestInfoProperties  request specific properties; may be null
   */
  public static Request getCreateRequest(Set<Map<String, Object>> properties,
                                         Map<String, String> requestInfoProperties) {
    return new RequestImpl(null, properties, requestInfoProperties, null);
  }
View Full Code Here

Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * property ids represents the properties of interest for the query.
   *
   * @param propertyIds  the property ids associated with the request; may be null
   */
  public static Request getReadRequest(Set<String> propertyIds) {
    return new RequestImpl(propertyIds,  null, null, null);
  }
View Full Code Here

Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * @param propertyIds      the property ids associated with the request; may be null
   * @param mapTemporalInfo  the temporal info
   */
  public static Request getReadRequest(Set<String> propertyIds, Map<String,
      TemporalInfo> mapTemporalInfo) {
    return new RequestImpl(propertyIds,  null, null, mapTemporalInfo);
  }
View Full Code Here

Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * property ids represents the properties of interest for the query.
   *
   * @param propertyIds  the property ids associated with the request; may be null
   */
  public static Request getReadRequest(String ... propertyIds) {
    return new RequestImpl(new HashSet<String>(Arrays.asList(propertyIds)),  null, null, null);
  }
View Full Code Here

Examples of org.apache.ambari.server.controller.internal.RequestImpl

   * @param properties             resource properties associated with the request; may be null
   * @param requestInfoProperties  request specific properties; may be null
   */
  public static Request getUpdateRequest(Map<String, Object> properties,
                                         Map<String, String> requestInfoProperties) {
    return new RequestImpl(null, Collections.singleton(properties), requestInfoProperties, null);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.