Code examples for HttpContext

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
199:	httpContext.setAttribute(ClientContext.COOKIE_STORE, cookieStore); 
Full Snippet Info
6
CodeRank
36:	Object authAttribute = context.getAttribute("authenticated"); 
-
39:	getResponse(request, response, context); 
Full Snippet Info
5
CodeRank
54:	Queue<Job> queue = (Queue<Job>) context.getAttribute("queue"); 
-
60:	context.setAttribute("job", testjob); 
Full Snippet Info
5
CodeRank
83:	ctx.removeAttribute(ExecutionContext.HTTP_REQUEST); 
84:	ctx.removeAttribute(ExecutionContext.HTTP_RESPONSE); 
Full Snippet Info
5
CodeRank
108:	CookieStore cookieStore = (CookieStore) httpContext.getAttribute(ClientContext.COOKIE_STORE); 
-
116:	HttpResponse response = client.execute(post, httpContext); 
Full Snippet Info
5
CodeRank
85:	ctx.removeAttribute(ExecutionContext.HTTP_REQUEST); 
86:	ctx.removeAttribute(ExecutionContext.HTTP_RESPONSE); 
Full Snippet Info
5
CodeRank
106:	HttpRequestAsync sendReqAsync = new HttpRequestAsync(mMainActivity, this, mHttpContext, mErrorLogHandler); 
-
216:	HttpUriRequest currentReq = (HttpUriRequest) mHttpContext.getAttribute( 
-
218:	HttpHost currentHost = (HttpHost)  mHttpContext.getAttribute( 
Full Snippet Info
5
CodeRank
196:	httpContext.setAttribute(ClientContext.COOKIE_STORE, cookieStore); 
Full Snippet Info
5
CodeRank
74:	Boolean b = (Boolean) context.getAttribute(ExecutionContext.HTTP_REQ_SENT); 
-
91:	HttpUriRequest currentReq = (HttpUriRequest) context.getAttribute(ExecutionContext.HTTP_REQUEST); 
Full Snippet Info
5
CodeRank
74:	Boolean b = (Boolean) context.getAttribute(ExecutionContext.HTTP_REQ_SENT); 
-
91:	HttpUriRequest currentReq = (HttpUriRequest) context.getAttribute(ExecutionContext.HTTP_REQUEST); 
Full Snippet Info
5
CodeRank
70:	Boolean b = (Boolean) context.getAttribute(ExecutionContext.HTTP_REQ_SENT); 
-
89:	HttpUriRequest currentReq = (HttpUriRequest) context.getAttribute( ExecutionContext.HTTP_REQUEST ); 
Full Snippet Info
4
CodeRank
70:	Boolean b = (Boolean) context.getAttribute(ExecutionContext.HTTP_REQ_SENT); 
-
87:	HttpUriRequest currentReq = (HttpUriRequest) context.getAttribute(ExecutionContext.HTTP_REQUEST); 
Full Snippet Info
5
CodeRank
50:	.getAttribute(ExecutionContext.HTTP_REQ_SENT); 
-
69:	.getAttribute(ExecutionContext.HTTP_REQUEST); 
Full Snippet Info
5
CodeRank
197:	httpContext.setAttribute(ClientContext.COOKIE_STORE, cookieStore); 
Full Snippet Info
5
CodeRank
62:	Boolean b = (Boolean) context.getAttribute(ExecutionContext.HTTP_REQ_SENT); 
-
78:	HttpUriRequest currentReq = (HttpUriRequest) context.getAttribute( ExecutionContext.HTTP_REQUEST ); 
Full Snippet Info
5
CodeRank
49:	.getAttribute(ExecutionContext.HTTP_REQ_SENT); 
-
68:	.getAttribute(ExecutionContext.HTTP_REQUEST); 
Full Snippet Info
5
CodeRank
50:	Boolean b = (Boolean) context.getAttribute(ExecutionContext.HTTP_REQ_SENT); 
-
68:	HttpUriRequest currentReq = (HttpUriRequest) context.getAttribute( ExecutionContext.HTTP_REQUEST ); 
Full Snippet Info
5
CodeRank
47:	if (!getExpectedCredential().equals(context.getAttribute("proxy-creds"))) { 
-
52:	super.handle(request, response, context); 
Full Snippet Info
5
CodeRank
34:	httpContext.setAttribute("request line", httpRequest.getRequestLine()); 
35:	httpContext.setAttribute("http timer context", httpRequestTimer.time()); 
Full Snippet Info
5
CodeRank
111:	localContext.setAttribute(ClientContext.COOKIE_STORE, cookieStore); 
-
115:	localContext.setAttribute(ClientContext.CREDS_PROVIDER, credsProvider); 
Full Snippet Info
5
CodeRank