Uses of Class
kong.unirest.core.Headers
Packages that use Headers
-
Uses of Headers in kong.unirest.core
Fields in kong.unirest.core declared as HeadersMethods in kong.unirest.core that return HeadersModifier and TypeMethodDescriptionConfig.getDefaultHeaders()Return default headers that are added to every requestFailedResponse.getHeaders()HttpRequest.getHeaders()HttpResponse.getHeaders()MockRawResponse.getHeaders()RawResponse.getHeaders()Returns the received response headers.WebSocketRequest.getHeaders()WebSocketRequestImpl.getHeaders()Methods in kong.unirest.core with parameters of type HeadersModifier and TypeMethodDescriptionvoidAdd a bunch of headers at onceExpectedResponse.withHeaders(Headers headers) adds a collection of headers to the expected responseConstructors in kong.unirest.core with parameters of type HeadersModifierConstructorDescriptionMockRawResponse(String responseBody, Headers responseHeaders, int status, String statusMessage, Config config, HttpRequestSummary summary)