HttpUrlConnectionUtil.java

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-5440 Revert some unnecessary package name changes

  1. … 464 more files in changeset.
LDEV-5440 Refactor packages of imported classes

  1. … 481 more files in changeset.
LDEV-5440 Rewrite config files and library references

  1. … 955 more files in changeset.
LDEV-4664 Tweak HTTP connection access

  1. … 4 more files in changeset.
LDEV-3776: Remove $Id CVS keyword.

  1. … 1074 more files in changeset.
LDEV-3776: Remove $Id CVS keyword.

  1. … 782 more files in changeset.
LDEV-3776: Clean up and format all LAMS Java code.

  1. … 2120 more files in changeset.
LDEV-3776: Clean up and format all LAMS Java code.

  1. … 1860 more files in changeset.
LDEV-3660: Remove export potfolio resources: Java classes, JPS, DB entries and labels. Remove localLinkPath attribute from CSS tag as it was only used for export portfolio.

  1. … 371 more files in changeset.
LDEV-3033: Make Export Porfolio and customer projects use JBoss bind address for internal calls. Code clean up.

  1. … 4 more files in changeset.
LDEV-3007: Allow secure, untrusted connections to LAMS server.

    • -195
    • +240
    ./HttpUrlConnectionUtil.java
  1. … 1 more file in changeset.
Wrapped FileOutputStream with BufferedOutputStream

LDEV-2132

Updated address of FSF in copyright statement

  1. … 1392 more files in changeset.
Copyright statement change - only support GPL v2, not future versions. Missed the "version 2.0" the previous check in

  1. … 261 more files in changeset.
Copyright statement change - only support GPL v2, not future versions. Got the lines in the wrong order in the last check in.

  1. … 261 more files in changeset.
Copyright statement change - only support GPL v2, not future versions.

  1. … 261 more files in changeset.
Add new method to write URL to OutputStream.

when trying to connect to a tools export url, instead of throwing exception a status 200 isnt received, it will return null so that the export service can generate a file saying that an error has occurred.

changed it so that it checks the Http Status-Code before reading the input stream + writing to file.

generalised code to open a httpurlconnection. mainly coded for the export service stuff

    • -0
    • +130
    ./HttpUrlConnectionUtil.java