Lines Matching refs:request

129                          * Received a request type that is not recognized so I am
151 * Handles a ABORT request from a client. This method will read the rest of
152 * the request from the client. Assuming the request is valid, it will
155 * request, this method will create a reply message to send to the server.
161 HeaderSet request = new HeaderSet();
172 code = mListener.onAbort(request, reply);
173 Log.v(TAG, "onAbort request handler return value- " + code);
180 * Handles a PUT request from a client. This method will provide a
181 * <code>ServerOperation</code> object to the request handler. The
182 * <code>ServerOperation</code> object will handle the rest of the request.
189 * @param type the type of request received; either 0x02 or 0x82
225 * Handles a GET request from a client. This method will provide a
226 * <code>ServerOperation</code> object to the request handler. The
227 * <code>ServerOperation</code> object will handle the rest of the request.
234 * @param type the type of request received; either 0x03 or 0x83
278 * Handles a SETPATH request from a client. This method will read the rest
279 * of the request from the client. Assuming the request is valid, it will
282 * request, this method will create a reply message to send to the server
295 HeaderSet request = new HeaderSet();
316 ObexHelper.updateHeaderSet(request, headers);
318 if (mListener.getConnectionId() != -1 && request.mConnectionID != null) {
319 mListener.setConnectionId(ObexHelper.convertToLong(request.mConnectionID));
324 if (request.mAuthResp != null) {
325 if (!handleAuthResp(request.mAuthResp)) {
328 request.mAuthResp));
330 request.mAuthResp = null;
337 if (request.mAuthChall != null) {
338 handleAuthChall(request);
339 reply.mAuthResp = new byte[request.mAuthResp.length];
340 System.arraycopy(request.mAuthResp, 0, reply.mAuthResp, 0,
342 request.mAuthChall = null;
343 request.mAuthResp = null;
355 code = mListener.onSetPath(request, reply, backup, create);
405 * Handles a disconnect request from a client. This method will read the
406 * rest of the request from the client. Assuming the request is valid, it
409 * request, this method will create a reply message to send to the server.
418 HeaderSet request = new HeaderSet();
437 ObexHelper.updateHeaderSet(request, headers);
440 if (mListener.getConnectionId() != -1 && request.mConnectionID != null) {
441 mListener.setConnectionId(ObexHelper.convertToLong(request.mConnectionID));
446 if (request.mAuthResp != null) {
447 if (!handleAuthResp(request.mAuthResp)) {
450 request.mAuthResp));
452 request.mAuthResp = null;
457 if (request.mAuthChall != null) {
458 handleAuthChall(request);
459 request.mAuthChall = null;
463 mListener.onDisconnect(request, reply);
509 * Handles a connect request from a client. This method will read the rest
510 * of the request from the client. Assuming the request is valid, it will
513 * request, this method will create a reply message to send to the server
526 HeaderSet request = new HeaderSet();
559 ObexHelper.updateHeaderSet(request, headers);
562 if (mListener.getConnectionId() != -1 && request.mConnectionID != null) {
563 mListener.setConnectionId(ObexHelper.convertToLong(request.mConnectionID));
568 if (request.mAuthResp != null) {
569 if (!handleAuthResp(request.mAuthResp)) {
572 request.mAuthResp));
574 request.mAuthResp = null;
578 if (request.mAuthChall != null) {
579 handleAuthChall(request);
580 reply.mAuthResp = new byte[request.mAuthResp.length];
581 System.arraycopy(request.mAuthResp, 0, reply.mAuthResp, 0,
583 request.mAuthChall = null;
584 request.mAuthResp = null;
588 code = mListener.onConnect(request, reply);