| Class | Description |
|---|---|
| EasySSLProtocolSocketFactory |
EasySSLProtocolSocketFactory can be used to creats SSL
Sockets
that accept self-signed certificates. |
| EasyX509TrustManager |
EasyX509TrustManager unlike default
X509TrustManager accepts
self-signed certificates. |
| EntityHttpServletRequest |
Makes a copy of the data in a servlet request into a new request object
|
| EntityHttpServletRequest.EntityHttpSession |
A fake session for testing, from the spring mock session
|
| EntityHttpServletRequest.EntityRequestDispatcher |
A non-functional request dispatcher, based on the spring mock version
|
| EntityHttpServletRequest.EntityServletContext |
For testing, based on the spring Mock version
|
| EntityHttpServletResponse |
This is here to allow us to receive response data back which will not mess up an existing response
object and to allow for mocking of responses,
based on and built from the example in spring framework
|
| EntityServletInputStream |
This is a class which allows us to produce and control
ServletInputStreams,
normally there is no default implementation available for these for some stupid reason |
| EntityServletOutputStream |
This allows us to produce and control
ServletOutputStreams,
normally there is not a default implementation available for these for some crazed reason |
| EntityServletOutputStream.WriterOutputStream |
Wrap a Writer as an OutputStream.
|
| HttpClientWrapper |
Allows us to cleanly wrap an httpclient object without exposing the actual object class
|
| HttpResponse |
This is here to contain the information we get back from an http request fired
by the methods in
HttpRESTUtils |
| HttpRESTUtils |
Utilities for generating and processing http requests,
allows the developer to fire off a request and get back information about the response
All encoding is automatically UTF-8 |
| LazyRequestInputStream |
This provides lazy access to the
ServletInputStream data in a request,
this avoids issues with attempting to read data which was is later requested from the reader since
it will not actually do any reads using the ServletInputStream but still can pretend to |
| LazyResponseOutputStream |
This will get the response to get an outputstream from but will not actually get it from the response
until someone attempts to use the outputstream
This is horrible but required because of the way Sakai tool forwarding works |
| URLData |
This is a storage and parsing utility class,
supports the ability to get the data out of a URL
|
| Enum | Description |
|---|---|
| HttpRESTUtils.Method |
| Exception | Description |
|---|---|
| HttpRESTUtils.HttpIOException |
Indicates an IO failure
|
| HttpRESTUtils.HttpRequestException |
Indicates a general failure
|
Copyright © 2007–2018 CARET, University of Cambridge. All rights reserved.