/** * Constructor for the <code>QueryBuilder</code> object. This will * create an object that can be used to construct a single query * from the multiple sources of data within the request entity. * * @param request this is the request to build a query for * @param entity this is the entity that contains the data */ public QueryBuilder(Request request, Entity entity) { this.header = entity.getHeader(); this.request = request; }
/** * Constructor for the <code>QueryBuilder</code> object. This will * create an object that can be used to construct a single query * from the multiple sources of data within the request entity. * * @param request this is the request to build a query for * @param entity this is the entity that contains the data */ public QueryBuilder(Request request, Entity entity) { this.header = entity.getHeader(); this.request = request; }
/** * Constructor for the <code>QueryBuilder</code> object. This will * create an object that can be used to construct a single query * from the multiple sources of data within the request entity. * * @param request this is the request to build a query for * @param entity this is the entity that contains the data */ public QueryBuilder(Request request, Entity entity) { this.header = entity.getHeader(); this.request = request; }
/** * Constructor for the <code>RequestEntity</code> object. This is * used to create a request that contains all the parts sent by * the client, including the headers and the request body. Each of * the request elements are accessible through this object in a * convenient manner, all parts and parameters, as well as cookies * can be accessed and used without much effort. * * @param observer this is the observer used to monitor events * @param entity this is the entity that was sent by the client */ public RequestEntity(ResponseObserver observer, Entity entity) { this.certificate = new RequestCertificate(observer, entity); this.builder = new QueryBuilder(this, entity); this.channel = entity.getChannel(); this.header = entity.getHeader(); this.body = entity.getBody(); this.time = entity.getTime(); }
/** * Constructor for the <code>RequestEntity</code> object. This is * used to create a request that contains all the parts sent by * the client, including the headers and the request body. Each of * the request elements are accessible through this object in a * convenient manner, all parts and parameters, as well as cookies * can be accessed and used without much effort. * * @param entity this is the entity that was sent by the client * @param monitor this is the monitor used to monitor events */ public RequestEntity(Entity entity, Monitor monitor) { this.certificate = new RequestCertificate(entity, monitor); this.builder = new QueryBuilder(this, entity); this.channel = entity.getChannel(); this.header = entity.getHeader(); this.body = entity.getBody(); this.time = entity.getTime(); }
/** * Constructor for the <code>RequestEntity</code> object. This is * used to create a request that contains all the parts sent by * the client, including the headers and the request body. Each of * the request elements are accessible through this object in a * convenient manner, all parts and parameters, as well as cookies * can be accessed and used without much effort. * * @param observer this is the observer used to monitor events * @param entity this is the entity that was sent by the client */ public RequestEntity(ResponseObserver observer, Entity entity) { this.certificate = new RequestCertificate(observer, entity); this.builder = new QueryBuilder(this, entity); this.channel = entity.getChannel(); this.header = entity.getHeader(); this.body = entity.getBody(); this.time = entity.getTime(); }