public abstract class AbstractJaxrsHttpRequestFactory extends java.lang.Object implements RequestFactory
| Constructor and Description |
|---|
AbstractJaxrsHttpRequestFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Throwable |
getError(javax.ws.rs.core.Response response)
Return error associated with response.
|
protected abstract javax.ws.rs.client.Invocation.Builder |
getInvocation() |
Request |
newRequest(RequestContext requestContext)
Create a request within specified context.
|
@Nonnull protected abstract javax.ws.rs.client.Invocation.Builder getInvocation()
@Nonnull public Request newRequest(@Nonnull RequestContext requestContext) throws java.lang.Exception
RequestFactorynewRequest in interface RequestFactoryrequestContext - the request context.java.lang.Exception - if there is an error creating request.@Nullable
protected java.lang.Throwable getError(@Nonnull
javax.ws.rs.core.Response response)
response - the response.